home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Games / Balloons!1.1 / Balloons!1.1 / cards.xml < prev    next >
Text File  |  1991-11-03  |  116KB  |  2,444 lines

  1. card_6726.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>6726</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_7395.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>3999</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <true /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <true /> </lockText>
  23.         <rect>
  24.             <left>12</left>
  25.             <top>63</top>
  26.             <right>500</right>
  27.             <bottom>301</bottom>
  28.         </rect>
  29.         <style>scrolling</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <true /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Geneva</font>
  39.         <textSize>12</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>16</textHeight>
  42.         <name>Error Messages</name>
  43.         <script></script>
  44.     </part>
  45.     <content>
  46.         <layer>card</layer>
  47.         <id>1</id>
  48.         <text><span class="style7">on-Error Return Values:</span><span class="style2"></span><span class="style3">"Balloons XFCN, version 1.1, ¬©James P. Spencer, 1991"</span><span class="style2">This is returned when the only parameter is "!".</span><span class="style3">"Balloons ("!"|"?"|"On"|"Off"|"Remove"|"isOn"|"Show|ShowPICT|ShowSTR|ShowSTRlist|ShowStyle", stringToShow|resourceID|"resourceID,itemNumber", tipLocation[, version, alternativeRect])"</span><span class="style2">This is returned when the only parameter is "?"</span><span class="style3">"true""false"</span><span class="style2">One of these values is returned when the only parameter is "isOn."  "true" indicates that Balloon Help is currently on, while "false" indicates that it is off.</span><span class="style7">Error Messages:</span><span class="style2"></span><span class="style3">"ERROR: Number of parameters is incorrect. You can use Balloons("?") to check your syntax."</span><span class="style2">This is returned whenever the number of parameters is not 1, 3, 4, or 5.</span><span class="style3">"ERROR: unknown error in checking for Help Manager presence: xxx"</span><span class="style2">This message will be returned whenever Balloons() is unable to determine that the Help Manager is present.  xxx is usually an operating system error code as returned by Gestalt(). Normally, this will occur when the user is running under System 6.x, in which circumstance Gestalt returns an unimplemented selector error (-5551).  Another possibility is that Gestalt returned OK but determined that the Help Manager was not present, in which case xxx will be "No Help".  These two variations should not be considered true errors. The stack author should simply use the information to avoid wasted calls to Balloons() when the Help Manager is not present.  Any other error probably indicates something seriously wrong.</span><span class="style3">"ERROR: HMRemoveBalloon returned xxx"</span><span class="style2">Returned when the only parameter is "Remove" and the Help Manager has failed in trying to comply.  xxx is an operating system error code returned by the Help Manager and probably indicates something seriously wrong.  Note that this message should not be returned when all that has happened is that user tried to remove a balloon when none existed.  See the next error message.</span><span class="style3">"ERROR: Tried to remove balloon when there isn't one in existance."</span><span class="style2">Returned when the only parameter is "Remove" and there was no balloon to remove.  This is provided mostly for script debugging and does not necessarily mean there is anything wrong.</span><span class="style3">"ERROR: HMSetBalloons(TRUE) returned xxx""ERROR: HMSetBalloons(FALSE) returned xxx"</span><span class="style2">These two messages are returned when the only parameter is either "On" or "Off" respectively and the Help Manager has failed in its attempt to either turn balloons on or off.  xxx is an operating system error code and probably indicates a serious problem.</span><span class="style3">"ERROR: Syntax Error. You can use Balloons("?") to check your syntax."</span><span class="style2">This is returned when the number of parameters is correct but Balloons() does not recognize the first parameter as a valid selector. You will get this error if the spelling of the selector is not exactly as you see it in this stack. (In version 1.1, selectors are no longer case sensitive.)  Note that, because of the way HyperCard handles parameters, most of the other parameters will not generate syntax errors.  Instead, the parameters will be converted to some kind of usable value and either the wrong balloon will show up in the wrong place, or an error code will be returned by the attempt to show the balloon.  (See below.)One error that should especially be watched for is passing an invalid 5th parameter for the alternativeRect.  Because this will almost certainly be evaluated as a rectangle nowhere near the object for which you want Balloon Help, the Help Manager will assume that you have moved your mouse out of the alternativeRect and will return the error code -853.  In most implementations, a return of -853 will cause the script to recall Balloons() again which will merely return -853 forever.  (See below.)</span><span class="style3">"ERROR: Syntax error: The version parameter must be between 0 and 7."</span><span class="style2">Returned when an optional 4th parameter is passed that is not between 0 and 7 (there are only 8 variations to the standard balloon.)</span><span class="style3">"ERROR: HMShowBalloons() returned xxx "</span><span class="style2">Returned when there are 3, 4, or 5 parameters and Balloons() was able to evaluate all of them, but the actual attempt to show a balloon failed.  xxx is an operating system error code returned by the Help Manager.  For resource-based calls, the most likely error is -192, meaning the Help Manager could not read in the resource, probably because it doesn't exist.</span><span class="style3">"-853"</span><span class="style2">The only true error code which is not preceded by the word "ERROR:", -853 is returned even when all parameters are correct. It does not normally reflect a true error condition; rather, the Help Manager assumes that if the mouse is still moving it may only be passing through the object of interest, and the Help Manager will refuse to put up the balloon.  -853 means that at the time of the call to Balloons() the mouse was not still long enough; to compensate, the script should call Balloons again. If your balloons do not display reliably, this error is a likely cause. See the scripts in this stack for examples of how to compensate for -853 errors.Note that if you use the scripts within this stack and you pass an alternativeRect which doesn't contain the mouse, the Help Manager will presume that the mouse was just moved out of the alternativeRect and will return -853 every time Balloons() is called, resulting in an endless loop.  (You can terminate the loop by typing a Command-period to exit the script.)</span></text>
  49.     </content>
  50.     <name>Error Messages/Return Values</name>
  51.     <script>on closeCardset the scroll of cd fld "error messages" to 0end closeCard</script>
  52. </card>
  53.  
  54.  
  55. card_8024.xml
  56. <?xml version="1.0" encoding="utf-8" ?>
  57. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  58. <card>
  59.     <id>8024</id>
  60.     <filler1>0</filler1>
  61.     <bitmap>BMAP_8437.pbm</bitmap>
  62.     <cantDelete> <false /> </cantDelete>
  63.     <showPict> <true /> </showPict>
  64.     <dontSearch> <false /> </dontSearch>
  65.     <owner>3999</owner>
  66.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  67.     <part>
  68.         <id>3</id>
  69.         <type>field</type>
  70.         <visible> <true /> </visible>
  71.         <dontWrap> <false /> </dontWrap>
  72.         <dontSearch> <false /> </dontSearch>
  73.         <sharedText> <false /> </sharedText>
  74.         <fixedLineHeight> <false /> </fixedLineHeight>
  75.         <autoTab> <false /> </autoTab>
  76.         <lockText> <false /> </lockText>
  77.         <rect>
  78.             <left>135</left>
  79.             <top>174</top>
  80.             <right>227</right>
  81.             <bottom>193</bottom>
  82.         </rect>
  83.         <style>rectangle</style>
  84.         <autoSelect> <false /> </autoSelect>
  85.         <showLines> <false /> </showLines>
  86.         <wideMargins> <false /> </wideMargins>
  87.         <multipleLines> <false /> </multipleLines>
  88.         <reservedFamily> 0 </reservedFamily>
  89.         <titleWidth>0</titleWidth>
  90.         <icon>0</icon>
  91.         <textAlign>left</textAlign>
  92.         <font>Geneva</font>
  93.         <textSize>12</textSize>
  94.         <textStyle>plain</textStyle>
  95.         <textHeight>16</textHeight>
  96.         <name>resourceID</name>
  97.         <script>on mouseEntershowABalloon "The number in this field identifies the new " ¬¨& "TEXT resource which will be created.",,5end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  98.     </part>
  99.     <part>
  100.         <id>4</id>
  101.         <type>field</type>
  102.         <visible> <true /> </visible>
  103.         <dontWrap> <false /> </dontWrap>
  104.         <dontSearch> <false /> </dontSearch>
  105.         <sharedText> <false /> </sharedText>
  106.         <fixedLineHeight> <false /> </fixedLineHeight>
  107.         <autoTab> <false /> </autoTab>
  108.         <lockText> <false /> </lockText>
  109.         <rect>
  110.             <left>135</left>
  111.             <top>198</top>
  112.             <right>499</right>
  113.             <bottom>268</bottom>
  114.         </rect>
  115.         <style>scrolling</style>
  116.         <autoSelect> <false /> </autoSelect>
  117.         <showLines> <false /> </showLines>
  118.         <wideMargins> <false /> </wideMargins>
  119.         <multipleLines> <false /> </multipleLines>
  120.         <reservedFamily> 0 </reservedFamily>
  121.         <titleWidth>0</titleWidth>
  122.         <icon>0</icon>
  123.         <textAlign>left</textAlign>
  124.         <font>Geneva</font>
  125.         <textSize>12</textSize>
  126.         <textStyle>plain</textStyle>
  127.         <textHeight>16</textHeight>
  128.         <name>theString</name>
  129.         <script></script>
  130.     </part>
  131.     <part>
  132.         <id>5</id>
  133.         <type>field</type>
  134.         <visible> <true /> </visible>
  135.         <dontWrap> <false /> </dontWrap>
  136.         <dontSearch> <false /> </dontSearch>
  137.         <sharedText> <false /> </sharedText>
  138.         <fixedLineHeight> <false /> </fixedLineHeight>
  139.         <autoTab> <false /> </autoTab>
  140.         <lockText> <false /> </lockText>
  141.         <rect>
  142.             <left>135</left>
  143.             <top>275</top>
  144.             <right>402</right>
  145.             <bottom>296</bottom>
  146.         </rect>
  147.         <style>rectangle</style>
  148.         <autoSelect> <false /> </autoSelect>
  149.         <showLines> <false /> </showLines>
  150.         <wideMargins> <false /> </wideMargins>
  151.         <multipleLines> <false /> </multipleLines>
  152.         <reservedFamily> 0 </reservedFamily>
  153.         <titleWidth>0</titleWidth>
  154.         <icon>0</icon>
  155.         <textAlign>left</textAlign>
  156.         <font>Geneva</font>
  157.         <textSize>12</textSize>
  158.         <textStyle>plain</textStyle>
  159.         <textHeight>16</textHeight>
  160.         <name>resourceName</name>
  161.         <script></script>
  162.     </part>
  163.     <part>
  164.         <id>6</id>
  165.         <type>button</type>
  166.         <visible> <true /> </visible>
  167.         <reserved5> 0 </reserved5>
  168.         <reserved4> 0 </reserved4>
  169.         <reserved3> 0 </reserved3>
  170.         <reserved2> 0 </reserved2>
  171.         <reserved1> 0 </reserved1>
  172.         <enabled> <true /> </enabled>
  173.         <rect>
  174.             <left>187</left>
  175.             <top>309</top>
  176.             <right>328</right>
  177.             <bottom>331</bottom>
  178.         </rect>
  179.         <style>transparent</style>
  180.         <showName> <false /> </showName>
  181.         <highlight> <false /> </highlight>
  182.         <autoHighlight> <true /> </autoHighlight>
  183.         <sharedHighlight> <true /> </sharedHighlight>
  184.         <family>0</family>
  185.         <titleWidth>0</titleWidth>
  186.         <icon>0</icon>
  187.         <textAlign>center</textAlign>
  188.         <font>Chicago</font>
  189.         <textSize>12</textSize>
  190.         <textStyle>plain</textStyle>
  191.         <name>Create The String</name>
  192.         <script>on mouseUpput cd fld "resourceID" into resourceIDput the short name of cd fld "theString" into theFieldput cd fld "resourceName" into theNameput cd fld "theFile" into theFileif ((resourceID < 0) or (resourceID > 32000)) thenanswer "Resource ID must be between 0 and 32000."select text of cd fld "resourceID"exit mouseUpend ifif theName is empty then put " " into theNameCreateStyle theFile, theField, resourceID, theNameif the result <> empty then answer the resultend mouseUpon mouseEnterShowABalloon "After filling in these fields, " ¬¨& "click here to create a styled text resource which will be stored " ¬¨& "in the indicated stack. You can use this resource with Balloons() " ¬¨& "when using "&quote&"ShowStyle"&quote&" as the Selector."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  193.     </part>
  194.     <part>
  195.         <id>8</id>
  196.         <type>button</type>
  197.         <visible> <true /> </visible>
  198.         <reserved5> 0 </reserved5>
  199.         <reserved4> 0 </reserved4>
  200.         <reserved3> 0 </reserved3>
  201.         <reserved2> 0 </reserved2>
  202.         <reserved1> 0 </reserved1>
  203.         <enabled> <true /> </enabled>
  204.         <rect>
  205.             <left>244</left>
  206.             <top>173</top>
  207.             <right>337</right>
  208.             <bottom>195</bottom>
  209.         </rect>
  210.         <style>transparent</style>
  211.         <showName> <false /> </showName>
  212.         <highlight> <false /> </highlight>
  213.         <autoHighlight> <true /> </autoHighlight>
  214.         <sharedHighlight> <true /> </sharedHighlight>
  215.         <family>0</family>
  216.         <titleWidth>0</titleWidth>
  217.         <icon>0</icon>
  218.         <textAlign>center</textAlign>
  219.         <font>Chicago</font>
  220.         <textSize>12</textSize>
  221.         <textStyle>plain</textStyle>
  222.         <name>Choose File</name>
  223.         <script>on mouseUpanswer file "Select file in which to store STR resource:" of type STAKif it is empty then exit mouseUpput it into cd fld "theFile"put lpc(it) into cd fld "shortFileName"end mouseUpon mouseEnterShowABalloon "Click here to choose a stack in which to store " ¬¨& "the styled text resources."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeavefunction lpc thePathput empty into temprepeat until last char of thePath = ":"if last char of thePath <> quotethen put last char of thePath before tempdelete last char of thePathend repeatreturn tempend lpc-- ShowAString handler is located in the script of this background</script>
  224.     </part>
  225.     <part>
  226.         <id>9</id>
  227.         <type>field</type>
  228.         <visible> <false /> </visible>
  229.         <dontWrap> <false /> </dontWrap>
  230.         <dontSearch> <false /> </dontSearch>
  231.         <sharedText> <false /> </sharedText>
  232.         <fixedLineHeight> <false /> </fixedLineHeight>
  233.         <autoTab> <false /> </autoTab>
  234.         <lockText> <true /> </lockText>
  235.         <rect>
  236.             <left>342</left>
  237.             <top>174</top>
  238.             <right>499</right>
  239.             <bottom>193</bottom>
  240.         </rect>
  241.         <style>rectangle</style>
  242.         <autoSelect> <false /> </autoSelect>
  243.         <showLines> <false /> </showLines>
  244.         <wideMargins> <false /> </wideMargins>
  245.         <multipleLines> <false /> </multipleLines>
  246.         <reservedFamily> 0 </reservedFamily>
  247.         <titleWidth>0</titleWidth>
  248.         <icon>0</icon>
  249.         <textAlign>left</textAlign>
  250.         <font>Geneva</font>
  251.         <textSize>12</textSize>
  252.         <textStyle>plain</textStyle>
  253.         <textHeight>16</textHeight>
  254.         <name>theFile</name>
  255.         <script></script>
  256.     </part>
  257.     <part>
  258.         <id>10</id>
  259.         <type>field</type>
  260.         <visible> <true /> </visible>
  261.         <dontWrap> <false /> </dontWrap>
  262.         <dontSearch> <false /> </dontSearch>
  263.         <sharedText> <false /> </sharedText>
  264.         <fixedLineHeight> <false /> </fixedLineHeight>
  265.         <autoTab> <false /> </autoTab>
  266.         <lockText> <true /> </lockText>
  267.         <rect>
  268.             <left>342</left>
  269.             <top>174</top>
  270.             <right>499</right>
  271.             <bottom>193</bottom>
  272.         </rect>
  273.         <style>rectangle</style>
  274.         <autoSelect> <false /> </autoSelect>
  275.         <showLines> <false /> </showLines>
  276.         <wideMargins> <false /> </wideMargins>
  277.         <multipleLines> <false /> </multipleLines>
  278.         <reservedFamily> 0 </reservedFamily>
  279.         <titleWidth>0</titleWidth>
  280.         <icon>0</icon>
  281.         <textAlign>left</textAlign>
  282.         <font>Geneva</font>
  283.         <textSize>12</textSize>
  284.         <textStyle>plain</textStyle>
  285.         <textHeight>16</textHeight>
  286.         <name>ShortFileName</name>
  287.         <script>on mouseEntershowABalloon "The stack name in this field shows where the new " ¬¨& "TEXT resource will be stored. Change the name by clicking the " ¬¨& "Choose File button.",,5end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  288.     </part>
  289.     <content>
  290.         <layer>card</layer>
  291.         <id>10</id>
  292.         <text>Copy of Developers Guide Master</text>
  293.     </content>
  294.     <content>
  295.         <layer>background</layer>
  296.         <id>3</id>
  297.         <text><span class="style2">reateStyle is an XCMD, included in this stack, which permits the creation of styled text resources without leaving HyperCard. You can use these resources in your own stacks with Balloons() when "ShowStyle" is the Selector. This card may be used to create and store styled text resources in any of your own stacks; however, </span><span class="style3">if you would like to copy the CreateStyle XCMD to another stack, be sure to read the warning at the bottom of this field!</span><span class="style2">Styled text is actually produced by two resources: a resource of type 'TEXT' which contains the plain text to be displayed, and a resource of type 'styl' which describes the style in which the text should be displayed. These two resources must have the same ID.CreateStyle permits the user to create the styled text two ways. First, you can create your text in a card field such as the "String" field below. Simply type your text, applying the desired Font and Style attributes from the Font and Style menus and then pass the name of the card field to CreateStyle. Alternately, you can create your styled text with any other program and copy it to the Clipboard. When no card field is passed to CreateStyle, the external assumes that the TEXT and styl resources are on the clipboard. If you use this technique, you can check to make sure that you have, in fact, the required resources by copying them to the System 7 Scrapbook which shows what resource types make up a particular entry.  If you copy a Scrapbook entry which has TEXT and styl resources to the Clipboard, CreateStyle will use these resources.  Note that there may be other resources contained in a styled text Scrapbook entry. These will have no effect on CreateStyle. Also, if a TEXT resource is present but no styl resource, CreateStyle will return an error. If Balloons()is given a resource ID for a TEXT resource that does not have a matching styl resource ID, it will simply show plain text in the default font.  I have chosen to show this as an error because if you are truly intending to create unstyled text, you can do so directly by displaying a HyperCard string, a STR resource or a STR# resource.In the current version, 1.0, the syntax variations are:CreateStyle "!"    -- returns version information in "the result"CreateStyle "?"   -- returns syntax information in "the result"</span><span class="style3">CreateStyle [theFile],[fieldName], resourceID[, resourceName] </span><span class="style2">-- creates styled text resources and stores them in the resource fork of the indicated stacktheFile can be any file. If it is not in the same folder as the current stack, you need to provide a full path name.  The easiest way to do this is with the "answer file" command provided by HyperCard, as shown in the script of the "Choose File:" button below. If theFile is empty, the string will be put into the stack containing the XCMD (in this case, the Balloons stack.)theField can be any card field in the same stack as the CreateStyle XCMD. For example, when the "Create Styled Text" button below is clicked, it passes "theString" which is the name of the field next to the String label below.</span><span class="style3"></span><span class="style2">The resource ID can be any integer between 0 and 32000. If there is already an existing TEXT resource with the chosen ID number, a dialog box is presented giving you the choice of 1) cancelling the request to create the resource, 2) changing the ID number of the new TEXT resource, or 3) replacing the existing TEXT resource with the new one you are creating. If you replace a TEXT resource with the new data, any existing styl resource will also be replaced.resourceName is optional and should be a short string describing the resources. If nothing is passed, the TEXT and styl resources will have no name.You can create styled text resources from this card. First click "Choose File:" and choose the stack in which you wish to store the resources. Fill in the remaining fields below, applying styles to the string in the String field as desired, and click the "Create Styled Text" button. The resources will be stored in the resource fork of the stack indicated in the Choose File field. </span><span class="style3">WARNING:</span><span class="style2"> If you are going to copy the CreateStyle XCMD to another stack, you must also copy the DLOG and DITL resources (both with ID's number 1514.) If these resources aren't present and you try to create styled text when there is already an existing TEXT resource with the same ID, you will crash </span><span class="style12">very</span><span class="style2"> comprehensively.</span></text>
  298.     </content>
  299.     <name>Create Styled Text</name>
  300.     <script>on closeCardput empty into cd fld "theFile"pass closeCardend closeCardon openCardput the short name of this stack into cd fld "shortFileName"pass openCardend openCard</script>
  301. </card>
  302.  
  303.  
  304. card_9632.xml
  305. <?xml version="1.0" encoding="utf-8" ?>
  306. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  307. <card>
  308.     <id>9632</id>
  309.     <filler1>0</filler1>
  310.     <cantDelete> <false /> </cantDelete>
  311.     <showPict> <true /> </showPict>
  312.     <dontSearch> <false /> </dontSearch>
  313.     <owner>9908</owner>
  314.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  315.     <part>
  316.         <id>6</id>
  317.         <type>button</type>
  318.         <visible> <true /> </visible>
  319.         <reserved5> 0 </reserved5>
  320.         <reserved4> 0 </reserved4>
  321.         <reserved3> 0 </reserved3>
  322.         <reserved2> 0 </reserved2>
  323.         <reserved1> 0 </reserved1>
  324.         <enabled> <true /> </enabled>
  325.         <rect>
  326.             <left>187</left>
  327.             <top>309</top>
  328.             <right>328</right>
  329.             <bottom>331</bottom>
  330.         </rect>
  331.         <style>transparent</style>
  332.         <showName> <false /> </showName>
  333.         <highlight> <false /> </highlight>
  334.         <autoHighlight> <true /> </autoHighlight>
  335.         <sharedHighlight> <true /> </sharedHighlight>
  336.         <family>0</family>
  337.         <titleWidth>0</titleWidth>
  338.         <icon>0</icon>
  339.         <textAlign>center</textAlign>
  340.         <font>Chicago</font>
  341.         <textSize>12</textSize>
  342.         <textStyle>plain</textStyle>
  343.         <name>Create The String</name>
  344.         <script>on mouseUpput cd fld "resourceID" of cd "Create PICTs" into resourceIDput cd fld "resourceName" of cd "Create PICTs" into theNameput cd fld "theFile" of cd "Create PICTs" into theFileif ((resourceID < 0) or (resourceID > 32000)) thenanswer "Resource ID must be between 0 and 32000."go cd "create PICTs"select text of cd fld "resourceID"exit mouseUpend ifif theName is empty then put " " into theNameCreatePICT theFile,, resourceID,theNameif the result <> empty then answer the resultunlock screenend mouseUpon mouseEnterput topLeft of me into tipadd 10 to item 1 of tipadd 10 to item 2 of tipput Balloons("ShowPICT", 1517, tip,6) into helpResultrepeat until "-853" is not in helpResultput Balloons("ShowPICT", 1516, tip, 6) into helpResultend repeatend mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  345.     </part>
  346.     <part>
  347.         <id>9</id>
  348.         <type>field</type>
  349.         <visible> <false /> </visible>
  350.         <dontWrap> <false /> </dontWrap>
  351.         <dontSearch> <false /> </dontSearch>
  352.         <sharedText> <false /> </sharedText>
  353.         <fixedLineHeight> <false /> </fixedLineHeight>
  354.         <autoTab> <false /> </autoTab>
  355.         <lockText> <true /> </lockText>
  356.         <rect>
  357.             <left>342</left>
  358.             <top>174</top>
  359.             <right>499</right>
  360.             <bottom>193</bottom>
  361.         </rect>
  362.         <style>rectangle</style>
  363.         <autoSelect> <false /> </autoSelect>
  364.         <showLines> <false /> </showLines>
  365.         <wideMargins> <false /> </wideMargins>
  366.         <multipleLines> <false /> </multipleLines>
  367.         <reservedFamily> 0 </reservedFamily>
  368.         <titleWidth>0</titleWidth>
  369.         <icon>0</icon>
  370.         <textAlign>left</textAlign>
  371.         <font>Geneva</font>
  372.         <textSize>12</textSize>
  373.         <textStyle>plain</textStyle>
  374.         <textHeight>16</textHeight>
  375.         <name>theFile</name>
  376.         <script></script>
  377.     </part>
  378.     <name>Easel</name>
  379.     <script>on openCardshow window "tools"pass openCardend openCardon closeCardif the visible of window "tools" then hide window "tools"choose browse toolput empty into cd fld "theFile" of cd "Create PICTs"end closeCard</script>
  380. </card>
  381.  
  382.  
  383. card_8647.xml
  384. <?xml version="1.0" encoding="utf-8" ?>
  385. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  386. <card>
  387.     <id>8647</id>
  388.     <filler1>0</filler1>
  389.     <bitmap>BMAP_8755.pbm</bitmap>
  390.     <cantDelete> <false /> </cantDelete>
  391.     <showPict> <true /> </showPict>
  392.     <dontSearch> <false /> </dontSearch>
  393.     <owner>3999</owner>
  394.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  395.     <part>
  396.         <id>3</id>
  397.         <type>field</type>
  398.         <visible> <true /> </visible>
  399.         <dontWrap> <false /> </dontWrap>
  400.         <dontSearch> <false /> </dontSearch>
  401.         <sharedText> <false /> </sharedText>
  402.         <fixedLineHeight> <false /> </fixedLineHeight>
  403.         <autoTab> <false /> </autoTab>
  404.         <lockText> <false /> </lockText>
  405.         <rect>
  406.             <left>135</left>
  407.             <top>174</top>
  408.             <right>227</right>
  409.             <bottom>193</bottom>
  410.         </rect>
  411.         <style>rectangle</style>
  412.         <autoSelect> <false /> </autoSelect>
  413.         <showLines> <false /> </showLines>
  414.         <wideMargins> <false /> </wideMargins>
  415.         <multipleLines> <false /> </multipleLines>
  416.         <reservedFamily> 0 </reservedFamily>
  417.         <titleWidth>0</titleWidth>
  418.         <icon>0</icon>
  419.         <textAlign>left</textAlign>
  420.         <font>Geneva</font>
  421.         <textSize>12</textSize>
  422.         <textStyle>plain</textStyle>
  423.         <textHeight>16</textHeight>
  424.         <name>resourceID</name>
  425.         <script>on mouseEntershowABalloon "The number in this field identifies the new " ¬¨& "PICT resource which will be created.",,5end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  426.     </part>
  427.     <part>
  428.         <id>5</id>
  429.         <type>field</type>
  430.         <visible> <true /> </visible>
  431.         <dontWrap> <false /> </dontWrap>
  432.         <dontSearch> <false /> </dontSearch>
  433.         <sharedText> <false /> </sharedText>
  434.         <fixedLineHeight> <false /> </fixedLineHeight>
  435.         <autoTab> <false /> </autoTab>
  436.         <lockText> <false /> </lockText>
  437.         <rect>
  438.             <left>135</left>
  439.             <top>275</top>
  440.             <right>402</right>
  441.             <bottom>296</bottom>
  442.         </rect>
  443.         <style>rectangle</style>
  444.         <autoSelect> <false /> </autoSelect>
  445.         <showLines> <false /> </showLines>
  446.         <wideMargins> <false /> </wideMargins>
  447.         <multipleLines> <false /> </multipleLines>
  448.         <reservedFamily> 0 </reservedFamily>
  449.         <titleWidth>0</titleWidth>
  450.         <icon>0</icon>
  451.         <textAlign>left</textAlign>
  452.         <font>Geneva</font>
  453.         <textSize>12</textSize>
  454.         <textStyle>plain</textStyle>
  455.         <textHeight>16</textHeight>
  456.         <name>resourceName</name>
  457.         <script></script>
  458.     </part>
  459.     <part>
  460.         <id>6</id>
  461.         <type>button</type>
  462.         <visible> <true /> </visible>
  463.         <reserved5> 0 </reserved5>
  464.         <reserved4> 0 </reserved4>
  465.         <reserved3> 0 </reserved3>
  466.         <reserved2> 0 </reserved2>
  467.         <reserved1> 0 </reserved1>
  468.         <enabled> <true /> </enabled>
  469.         <rect>
  470.             <left>187</left>
  471.             <top>309</top>
  472.             <right>328</right>
  473.             <bottom>331</bottom>
  474.         </rect>
  475.         <style>transparent</style>
  476.         <showName> <false /> </showName>
  477.         <highlight> <false /> </highlight>
  478.         <autoHighlight> <true /> </autoHighlight>
  479.         <sharedHighlight> <true /> </sharedHighlight>
  480.         <family>0</family>
  481.         <titleWidth>0</titleWidth>
  482.         <icon>0</icon>
  483.         <textAlign>center</textAlign>
  484.         <font>Chicago</font>
  485.         <textSize>12</textSize>
  486.         <textStyle>plain</textStyle>
  487.         <name>Create The String</name>
  488.         <script>on mouseUpif not the hilite of btn "clipboard" ¬¨and not the hilite of btn "cardpicture" thenanswer "Please click either the From Clipboard button" ¬¨& " or the From Card Picture button to create " ¬¨& "a PICT resource."exit to HyperCardend ifif the hilite of btn "cardpicture" thencheckBlankFldsgo cd "easel"exit to HyperCardend ifput cd fld "resourceID" into resourceIDput cd fld "resourceName" into theNameput cd fld "theFile" into theFileif ((resourceID < 0) or (resourceID > 32000)) thenanswer "Resource ID must be between 0 and 32000."select text of cd fld "resourceID"exit mouseUpend ifif theName is empty then put " " into theNameCreatePICT theFile,false,resourceID,theNameif the result <> empty then answer the resultunlock screenend mouseUpon mouseEnterput topLeft of me into tipadd 10 to item 1 of tipadd 10 to item 2 of tipput Balloons("ShowPICT", 1516, tip,6) into helpResultrepeat until "-853" is not in helpResultput Balloons("ShowPICT", 1516, tip, 6) into helpResultend repeatend mouseEnteron mouseLeaveRemoveABalloonend mouseLeaveon checkBlankFldsif cd fld "resourceID" is empty thenanswer "Please fill in the resource ID information " ¬¨& "before drawing your picture."set the hilite of me to falseexit to HyperCardend ifend checkBlankFlds</script>
  489.     </part>
  490.     <part>
  491.         <id>8</id>
  492.         <type>button</type>
  493.         <visible> <true /> </visible>
  494.         <reserved5> 0 </reserved5>
  495.         <reserved4> 0 </reserved4>
  496.         <reserved3> 0 </reserved3>
  497.         <reserved2> 0 </reserved2>
  498.         <reserved1> 0 </reserved1>
  499.         <enabled> <true /> </enabled>
  500.         <rect>
  501.             <left>244</left>
  502.             <top>173</top>
  503.             <right>337</right>
  504.             <bottom>195</bottom>
  505.         </rect>
  506.         <style>transparent</style>
  507.         <showName> <false /> </showName>
  508.         <highlight> <false /> </highlight>
  509.         <autoHighlight> <true /> </autoHighlight>
  510.         <sharedHighlight> <true /> </sharedHighlight>
  511.         <family>0</family>
  512.         <titleWidth>0</titleWidth>
  513.         <icon>0</icon>
  514.         <textAlign>center</textAlign>
  515.         <font>Chicago</font>
  516.         <textSize>12</textSize>
  517.         <textStyle>plain</textStyle>
  518.         <name>Choose File</name>
  519.         <script>on mouseUpanswer file "Select file in which to store PICT resource:" of type STAKif it is empty then exit mouseUpput it into cd fld "theFile"put lpc(it) into cd fld "shortFileName"end mouseUpon mouseEnterShowABalloon "Click here to choose a stack in which to store the PICT resource."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeavefunction lpc thePathput empty into temprepeat until last char of thePath = ":"if last char of thePath <> quotethen put last char of thePath before tempdelete last char of thePathend repeatreturn tempend lpc-- ShowAString handler is located in the script of this background</script>
  520.     </part>
  521.     <part>
  522.         <id>9</id>
  523.         <type>field</type>
  524.         <visible> <false /> </visible>
  525.         <dontWrap> <false /> </dontWrap>
  526.         <dontSearch> <false /> </dontSearch>
  527.         <sharedText> <false /> </sharedText>
  528.         <fixedLineHeight> <false /> </fixedLineHeight>
  529.         <autoTab> <false /> </autoTab>
  530.         <lockText> <true /> </lockText>
  531.         <rect>
  532.             <left>342</left>
  533.             <top>174</top>
  534.             <right>499</right>
  535.             <bottom>193</bottom>
  536.         </rect>
  537.         <style>rectangle</style>
  538.         <autoSelect> <false /> </autoSelect>
  539.         <showLines> <false /> </showLines>
  540.         <wideMargins> <false /> </wideMargins>
  541.         <multipleLines> <false /> </multipleLines>
  542.         <reservedFamily> 0 </reservedFamily>
  543.         <titleWidth>0</titleWidth>
  544.         <icon>0</icon>
  545.         <textAlign>left</textAlign>
  546.         <font>Geneva</font>
  547.         <textSize>12</textSize>
  548.         <textStyle>plain</textStyle>
  549.         <textHeight>16</textHeight>
  550.         <name>theFile</name>
  551.         <script></script>
  552.     </part>
  553.     <part>
  554.         <id>10</id>
  555.         <type>field</type>
  556.         <visible> <true /> </visible>
  557.         <dontWrap> <false /> </dontWrap>
  558.         <dontSearch> <false /> </dontSearch>
  559.         <sharedText> <false /> </sharedText>
  560.         <fixedLineHeight> <false /> </fixedLineHeight>
  561.         <autoTab> <false /> </autoTab>
  562.         <lockText> <true /> </lockText>
  563.         <rect>
  564.             <left>342</left>
  565.             <top>174</top>
  566.             <right>499</right>
  567.             <bottom>193</bottom>
  568.         </rect>
  569.         <style>rectangle</style>
  570.         <autoSelect> <false /> </autoSelect>
  571.         <showLines> <false /> </showLines>
  572.         <wideMargins> <false /> </wideMargins>
  573.         <multipleLines> <false /> </multipleLines>
  574.         <reservedFamily> 0 </reservedFamily>
  575.         <titleWidth>0</titleWidth>
  576.         <icon>0</icon>
  577.         <textAlign>left</textAlign>
  578.         <font>Geneva</font>
  579.         <textSize>12</textSize>
  580.         <textStyle>plain</textStyle>
  581.         <textHeight>16</textHeight>
  582.         <name>ShortFileName</name>
  583.         <script>on mouseEntershowABalloon "The stack name in this field shows where the new " ¬¨& "PICT resource will be stored. Change the name by clicking the " ¬¨& "Choose File button.",,5end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  584.     </part>
  585.     <part>
  586.         <id>12</id>
  587.         <type>button</type>
  588.         <visible> <true /> </visible>
  589.         <reserved5> 0 </reserved5>
  590.         <reserved4> 0 </reserved4>
  591.         <reserved3> 0 </reserved3>
  592.         <reserved2> 0 </reserved2>
  593.         <reserved1> 0 </reserved1>
  594.         <enabled> <true /> </enabled>
  595.         <rect>
  596.             <left>135</left>
  597.             <top>207</top>
  598.             <right>157</right>
  599.             <bottom>229</bottom>
  600.         </rect>
  601.         <style>transparent</style>
  602.         <showName> <false /> </showName>
  603.         <highlight> <true /> </highlight>
  604.         <autoHighlight> <false /> </autoHighlight>
  605.         <sharedHighlight> <true /> </sharedHighlight>
  606.         <family>0</family>
  607.         <titleWidth>0</titleWidth>
  608.         <icon>0</icon>
  609.         <textAlign>center</textAlign>
  610.         <font>Chicago</font>
  611.         <textSize>12</textSize>
  612.         <textStyle>plain</textStyle>
  613.         <name>Clipboard</name>
  614.         <script>on mouseDownset the hilite of me to not the hilite of meset the hilite of btn "cardPicture" to not the hilite of meend mouseDownon mouseEnterShowABalloon "Click here to indicate you wish to create a PICT resource from a picture in the clipboard."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  615.     </part>
  616.     <part>
  617.         <id>13</id>
  618.         <type>button</type>
  619.         <visible> <true /> </visible>
  620.         <reserved5> 0 </reserved5>
  621.         <reserved4> 0 </reserved4>
  622.         <reserved3> 0 </reserved3>
  623.         <reserved2> 0 </reserved2>
  624.         <reserved1> 0 </reserved1>
  625.         <enabled> <true /> </enabled>
  626.         <rect>
  627.             <left>135</left>
  628.             <top>240</top>
  629.             <right>157</right>
  630.             <bottom>262</bottom>
  631.         </rect>
  632.         <style>transparent</style>
  633.         <showName> <false /> </showName>
  634.         <highlight> <false /> </highlight>
  635.         <autoHighlight> <false /> </autoHighlight>
  636.         <sharedHighlight> <true /> </sharedHighlight>
  637.         <family>0</family>
  638.         <titleWidth>0</titleWidth>
  639.         <icon>0</icon>
  640.         <textAlign>center</textAlign>
  641.         <font>Chicago</font>
  642.         <textSize>12</textSize>
  643.         <textStyle>plain</textStyle>
  644.         <name>CardPicture</name>
  645.         <script>on mouseDownset the hilite of me to not the hilite of meset the hilite of btn "clipboard" to not the hilite of meend mouseDownon mouseEnterShowABalloon "Click here to indicate you wish to create a PICT resource from a picture you will draw on the next card."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  646.     </part>
  647.     <content>
  648.         <layer>background</layer>
  649.         <id>3</id>
  650.         <text><span class="style2">reatePICT is an XCMD, included in this stack, which permits the creation of PICT resources without leaving HyperCard. You can use these resources in your own stacks with Balloons() when "ShowPICT" is the Selector. This card may be used to create and store PICT resources in any of your own stacks; however, </span><span class="style3">if you would like to copy the CreatePICT XCMD to another stack, be sure to read the warning at the bottom of this field!</span><span class="style2">In the current version, 1.0, the syntax variations are:CreatePICT "!"    -- returns version information in "the result"CreatePICT "?"   -- returns syntax information in "the result"</span><span class="style3">CreatePICT theFile, useCard = true/false, resourceID[, resourceName] </span><span class="style2">-- creates a PICT resource and stores it in the resource fork of the indicated stacktheFile can be any file. If it is not in the same folder as the current stack, you need to provide a full path name. The easiest way to do this is with the "answer file" command provided by HyperCard, as shown in the script of the "Choose File:" button below. If theFile is empty, the PICT will be put into the stack containing the XCMD (in this case, the Balloons stack.)useCard  determines whether the XCMD should give the user a chance to select a portion of the current card from which to create the PICT or to simply take whatever is already on the clipboard. The default is "true" meaning a card graphic should be selected. If anything other than empty or "true" is passed, the XCMD will try to use the clipboard as is.</span><span class="style3"></span><span class="style2">The resource ID can be any integer between 0 and 32000. If there is already an existing PICT resource with the chosen ID number, a dialog box is presented giving you the choice of 1) cancelling the request to create the resource, 2) changing the ID number of the new PICT resource, or 3) replacing the existing PICT resource with the new one you are creating.resourceName is optional and should be a short string describing the resource. If nothing is passed, the PICT resource will have no name.You can create PICT resources from within this stack. First click "Choose File:" and choose the stack in which you wish to store the PICT resource. Fill in the  Resource ID and Resource Name fields below. Click the appropriate button to indicate whether you wish to use a picture you have previously copied into the clipboard, or a picture you wish to draw yourself. If you choose to create a PICT from a something you have already copied to the clipboard, clicking the "Create the PICT" button will create the resource. If you choose to draw a picture yourself, clicking the "Create the PICT" button will take you to a drawing card where you can create your picture. Then click the "Create the PICT" button again from the drawing card. The PICT resource will be stored in the resource fork of the stack indicated in the Choose File field.</span><span class="style3">WARNING:</span><span class="style2"> If you are going to copy the CreatePICT XCMD to another stack, you must also copy the DLOG and DITL resources (both with ID's number 1514.) If these resources aren't present and you try to create an STR when there is already an existing PICT with the same ID, you will crash </span><span class="style12">very</span><span class="style2"> comprehensively.</span></text>
  651.     </content>
  652.     <content>
  653.         <layer>card</layer>
  654.         <id>10</id>
  655.         <text>Copy of Developers Guide Master</text>
  656.     </content>
  657.     <content>
  658.         <layer>card</layer>
  659.         <id>9</id>
  660.         <text>Telemann:HyperDevelopment:Developers Guide Stacks:Copy of Developers Guide Master</text>
  661.     </content>
  662.     <name>Create PICTs</name>
  663.     <script>on openCardput the short name of this stack into cd fld "shortFileName"set the hilite of btn "clipboard" to falseset the hilite of btn "cardPicture" to falsepass openCardend openCard</script>
  664. </card>
  665.  
  666.  
  667. card_9189.xml
  668. <?xml version="1.0" encoding="utf-8" ?>
  669. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  670. <card>
  671.     <id>9189</id>
  672.     <filler1>0</filler1>
  673.     <bitmap>BMAP_9288.pbm</bitmap>
  674.     <cantDelete> <false /> </cantDelete>
  675.     <showPict> <true /> </showPict>
  676.     <dontSearch> <false /> </dontSearch>
  677.     <owner>3999</owner>
  678.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  679.     <part>
  680.         <id>3</id>
  681.         <type>field</type>
  682.         <visible> <true /> </visible>
  683.         <dontWrap> <false /> </dontWrap>
  684.         <dontSearch> <false /> </dontSearch>
  685.         <sharedText> <false /> </sharedText>
  686.         <fixedLineHeight> <false /> </fixedLineHeight>
  687.         <autoTab> <false /> </autoTab>
  688.         <lockText> <false /> </lockText>
  689.         <rect>
  690.             <left>135</left>
  691.             <top>174</top>
  692.             <right>227</right>
  693.             <bottom>193</bottom>
  694.         </rect>
  695.         <style>rectangle</style>
  696.         <autoSelect> <false /> </autoSelect>
  697.         <showLines> <false /> </showLines>
  698.         <wideMargins> <false /> </wideMargins>
  699.         <multipleLines> <false /> </multipleLines>
  700.         <reservedFamily> 0 </reservedFamily>
  701.         <titleWidth>0</titleWidth>
  702.         <icon>0</icon>
  703.         <textAlign>left</textAlign>
  704.         <font>Geneva</font>
  705.         <textSize>12</textSize>
  706.         <textStyle>plain</textStyle>
  707.         <textHeight>16</textHeight>
  708.         <name>resourceID</name>
  709.         <script>on mouseEnterShowASTRList 1515,2,,6end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  710.     </part>
  711.     <part>
  712.         <id>4</id>
  713.         <type>field</type>
  714.         <visible> <true /> </visible>
  715.         <dontWrap> <false /> </dontWrap>
  716.         <dontSearch> <false /> </dontSearch>
  717.         <sharedText> <false /> </sharedText>
  718.         <fixedLineHeight> <false /> </fixedLineHeight>
  719.         <autoTab> <false /> </autoTab>
  720.         <lockText> <false /> </lockText>
  721.         <rect>
  722.             <left>135</left>
  723.             <top>198</top>
  724.             <right>499</right>
  725.             <bottom>268</bottom>
  726.         </rect>
  727.         <style>rectangle</style>
  728.         <autoSelect> <false /> </autoSelect>
  729.         <showLines> <false /> </showLines>
  730.         <wideMargins> <false /> </wideMargins>
  731.         <multipleLines> <false /> </multipleLines>
  732.         <reservedFamily> 0 </reservedFamily>
  733.         <titleWidth>0</titleWidth>
  734.         <icon>0</icon>
  735.         <textAlign>left</textAlign>
  736.         <font>Geneva</font>
  737.         <textSize>12</textSize>
  738.         <textStyle>plain</textStyle>
  739.         <textHeight>16</textHeight>
  740.         <name>theString</name>
  741.         <script>on mouseEnterShowASTRList 1515,5,,6end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  742.     </part>
  743.     <part>
  744.         <id>5</id>
  745.         <type>field</type>
  746.         <visible> <true /> </visible>
  747.         <dontWrap> <false /> </dontWrap>
  748.         <dontSearch> <false /> </dontSearch>
  749.         <sharedText> <false /> </sharedText>
  750.         <fixedLineHeight> <false /> </fixedLineHeight>
  751.         <autoTab> <false /> </autoTab>
  752.         <lockText> <false /> </lockText>
  753.         <rect>
  754.             <left>135</left>
  755.             <top>275</top>
  756.             <right>402</right>
  757.             <bottom>296</bottom>
  758.         </rect>
  759.         <style>rectangle</style>
  760.         <autoSelect> <false /> </autoSelect>
  761.         <showLines> <false /> </showLines>
  762.         <wideMargins> <false /> </wideMargins>
  763.         <multipleLines> <false /> </multipleLines>
  764.         <reservedFamily> 0 </reservedFamily>
  765.         <titleWidth>0</titleWidth>
  766.         <icon>0</icon>
  767.         <textAlign>left</textAlign>
  768.         <font>Geneva</font>
  769.         <textSize>12</textSize>
  770.         <textStyle>plain</textStyle>
  771.         <textHeight>16</textHeight>
  772.         <name>resourceName</name>
  773.         <script>on mouseEnterShowASTRList 1515,6,,6end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  774.     </part>
  775.     <part>
  776.         <id>6</id>
  777.         <type>button</type>
  778.         <visible> <true /> </visible>
  779.         <reserved5> 0 </reserved5>
  780.         <reserved4> 0 </reserved4>
  781.         <reserved3> 0 </reserved3>
  782.         <reserved2> 0 </reserved2>
  783.         <reserved1> 0 </reserved1>
  784.         <enabled> <true /> </enabled>
  785.         <rect>
  786.             <left>187</left>
  787.             <top>309</top>
  788.             <right>328</right>
  789.             <bottom>331</bottom>
  790.         </rect>
  791.         <style>transparent</style>
  792.         <showName> <false /> </showName>
  793.         <highlight> <false /> </highlight>
  794.         <autoHighlight> <true /> </autoHighlight>
  795.         <sharedHighlight> <true /> </sharedHighlight>
  796.         <family>0</family>
  797.         <titleWidth>0</titleWidth>
  798.         <icon>0</icon>
  799.         <textAlign>center</textAlign>
  800.         <font>Chicago</font>
  801.         <textSize>12</textSize>
  802.         <textStyle>plain</textStyle>
  803.         <name>Create The String</name>
  804.         <script>on mouseEnterShowASTRList 1515,1,,6end mouseEnteron mouseLeaveRemoveABalloonend mouseLeaveon mouseUpput cd fld "resourceID" into resourceIDput cd fld "theString" into theStringput cd fld "resourceName" into theNameput cd fld "theFile" into theFileif ((resourceID < 0) or (resourceID > 32000)) thenanswer "Resource ID must be between 0 and 32000."select text of cd fld "resourceID"exit mouseUpend ifif theName is empty then put " " into theNameCreateSTRList theFile, resourceID, theString, theNameif the result <> empty then answer the resultend mouseUp</script>
  805.     </part>
  806.     <part>
  807.         <id>8</id>
  808.         <type>button</type>
  809.         <visible> <true /> </visible>
  810.         <reserved5> 0 </reserved5>
  811.         <reserved4> 0 </reserved4>
  812.         <reserved3> 0 </reserved3>
  813.         <reserved2> 0 </reserved2>
  814.         <reserved1> 0 </reserved1>
  815.         <enabled> <true /> </enabled>
  816.         <rect>
  817.             <left>244</left>
  818.             <top>173</top>
  819.             <right>337</right>
  820.             <bottom>195</bottom>
  821.         </rect>
  822.         <style>transparent</style>
  823.         <showName> <false /> </showName>
  824.         <highlight> <false /> </highlight>
  825.         <autoHighlight> <true /> </autoHighlight>
  826.         <sharedHighlight> <true /> </sharedHighlight>
  827.         <family>0</family>
  828.         <titleWidth>0</titleWidth>
  829.         <icon>0</icon>
  830.         <textAlign>center</textAlign>
  831.         <font>Chicago</font>
  832.         <textSize>12</textSize>
  833.         <textStyle>plain</textStyle>
  834.         <name>Choose File</name>
  835.         <script>on mouseEnterShowASTRList 1515,3,,6end mouseEnteron mouseLeaveRemoveABalloonend mouseLeaveon mouseUpanswer file "Select file in which to store STR resource:" of type STAKif it is empty then exit mouseUpput it into cd fld "theFile"put lpc(it) into cd fld "shortFileName"end mouseUpon mouseEnterShowAString 1517,,2end mouseEnteron mouseLeaveRemoveABalloonend mouseLeavefunction lpc thePathput empty into temprepeat until last char of thePath = ":"if last char of thePath <> quotethen put last char of thePath before tempdelete last char of thePathend repeatreturn tempend lpc-- ShowAString handler is located in the script of this background</script>
  836.     </part>
  837.     <part>
  838.         <id>9</id>
  839.         <type>field</type>
  840.         <visible> <false /> </visible>
  841.         <dontWrap> <false /> </dontWrap>
  842.         <dontSearch> <false /> </dontSearch>
  843.         <sharedText> <false /> </sharedText>
  844.         <fixedLineHeight> <false /> </fixedLineHeight>
  845.         <autoTab> <false /> </autoTab>
  846.         <lockText> <true /> </lockText>
  847.         <rect>
  848.             <left>342</left>
  849.             <top>174</top>
  850.             <right>499</right>
  851.             <bottom>193</bottom>
  852.         </rect>
  853.         <style>rectangle</style>
  854.         <autoSelect> <false /> </autoSelect>
  855.         <showLines> <false /> </showLines>
  856.         <wideMargins> <false /> </wideMargins>
  857.         <multipleLines> <false /> </multipleLines>
  858.         <reservedFamily> 0 </reservedFamily>
  859.         <titleWidth>0</titleWidth>
  860.         <icon>0</icon>
  861.         <textAlign>left</textAlign>
  862.         <font>Geneva</font>
  863.         <textSize>12</textSize>
  864.         <textStyle>plain</textStyle>
  865.         <textHeight>16</textHeight>
  866.         <name>theFile</name>
  867.         <script></script>
  868.     </part>
  869.     <part>
  870.         <id>10</id>
  871.         <type>field</type>
  872.         <visible> <true /> </visible>
  873.         <dontWrap> <false /> </dontWrap>
  874.         <dontSearch> <false /> </dontSearch>
  875.         <sharedText> <false /> </sharedText>
  876.         <fixedLineHeight> <false /> </fixedLineHeight>
  877.         <autoTab> <false /> </autoTab>
  878.         <lockText> <true /> </lockText>
  879.         <rect>
  880.             <left>342</left>
  881.             <top>174</top>
  882.             <right>499</right>
  883.             <bottom>193</bottom>
  884.         </rect>
  885.         <style>rectangle</style>
  886.         <autoSelect> <false /> </autoSelect>
  887.         <showLines> <false /> </showLines>
  888.         <wideMargins> <false /> </wideMargins>
  889.         <multipleLines> <false /> </multipleLines>
  890.         <reservedFamily> 0 </reservedFamily>
  891.         <titleWidth>0</titleWidth>
  892.         <icon>0</icon>
  893.         <textAlign>left</textAlign>
  894.         <font>Geneva</font>
  895.         <textSize>12</textSize>
  896.         <textStyle>plain</textStyle>
  897.         <textHeight>16</textHeight>
  898.         <name>ShortFileName</name>
  899.         <script>on mouseEnterShowASTRList 1515,4,,6end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  900.     </part>
  901.     <content>
  902.         <layer>background</layer>
  903.         <id>3</id>
  904.         <text><span class="style2">reateSTRList is an XCMD, included in this stack, which permits the creation of STR# (string list) resources without leaving HyperCard. You can use these STR# resources in your own stacks with Balloons() when "ShowSTRList" is the Selector. This card may be used to create and store STR# resources in any of your own stacks; however, </span><span class="style3">if you would like to copy the CreateSTRList XCMD to another stack, be sure to read the warning at the bottom of this field!</span><span class="style2">In the current version, 1.0, the syntax variations are:CreateSTRList "!"    -- returns version information in "the result"CreateSTRList "?"   -- returns syntax information in "the result"</span><span class="style3">CreateSTRList theFile, resourceID, theString[, resourceName] </span><span class="style2">-- creates an STR# resource and stores it in the resource fork of the indicated stacktheFile can be any file. If it is not in the same folder as the current stack, you need to provide a full path name.  The easiest way to do this is with the "answer file" command provided by HyperCard, as shown in the script of the "Choose File:" button below. If theFile is empty, the string will be put into the stack containing the XCMD (in this case, the Balloons stack.)</span><span class="style3"></span><span class="style2">The resource ID can be any integer between 0 and 32000. If there is already an existing STR# resource with the chosen ID number, a dialog box is presented giving you the choice of 1) cancelling the request to create the resource, 2) changing the ID number of the new STR# resource,  3) adding the string to the existing resource (as the last string in the array), or 4) replacing the existing STR# resource with the new one you are creating.theString can be any HyperCard container or string literal.resourceName is optional and should be a short string describing the resource.  If nothing is passed and a completely new resource is being created, the STR# resource will have no name.  If the string is being added to an already existing resource and a new name is passed, the resource will be given the new name.  If the string is being added to an already existing resource and an empty string is passed to CreateSTRList, the existing resource will retain the name it has, if any.You can create STR# resources from this card. First click "Choose File:" and choose the stack in which you wish to store the STR# resource. Fill in the remaining fields below and click the "Create String List" button. The STR# resource will be stored in the resource fork of the stack indicated in the Choose File field.  If there already is a STR# resource with the chosen ID, you will be given a chance to renumber the new resource, add the string to the already existing resource, replace the existing resource, or cancel.</span><span class="style3">WARNING:</span><span class="style2"> If you are going to copy the CreateSTR# XCMD to another stack, you must also copy the DLOG and DITL resources (both with ID's number 1517.) If these resources aren't present and you try to create an STR# when there is already an existing STR# with the same ID, you will crash </span><span class="style12">very</span><span class="style2"> comprehensively.</span></text>
  905.     </content>
  906.     <content>
  907.         <layer>card</layer>
  908.         <id>10</id>
  909.         <text>Balloons!1.1</text>
  910.     </content>
  911.     <name>Create String Lists</name>
  912.     <script>on closeCardput empty into cd fld "theFile"pass closeCardend closeCardon openCardput the short name of this stack into cd fld "shortFileName"pass openCardend openCard</script>
  913. </card>
  914.  
  915.  
  916. card_6352.xml
  917. <?xml version="1.0" encoding="utf-8" ?>
  918. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  919. <card>
  920.     <id>6352</id>
  921.     <filler1>0</filler1>
  922.     <bitmap>BMAP_7045.pbm</bitmap>
  923.     <cantDelete> <false /> </cantDelete>
  924.     <showPict> <true /> </showPict>
  925.     <dontSearch> <false /> </dontSearch>
  926.     <owner>3999</owner>
  927.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  928.     <part>
  929.         <id>3</id>
  930.         <type>field</type>
  931.         <visible> <true /> </visible>
  932.         <dontWrap> <false /> </dontWrap>
  933.         <dontSearch> <false /> </dontSearch>
  934.         <sharedText> <false /> </sharedText>
  935.         <fixedLineHeight> <false /> </fixedLineHeight>
  936.         <autoTab> <false /> </autoTab>
  937.         <lockText> <false /> </lockText>
  938.         <rect>
  939.             <left>135</left>
  940.             <top>174</top>
  941.             <right>227</right>
  942.             <bottom>193</bottom>
  943.         </rect>
  944.         <style>rectangle</style>
  945.         <autoSelect> <false /> </autoSelect>
  946.         <showLines> <false /> </showLines>
  947.         <wideMargins> <false /> </wideMargins>
  948.         <multipleLines> <false /> </multipleLines>
  949.         <reservedFamily> 0 </reservedFamily>
  950.         <titleWidth>0</titleWidth>
  951.         <icon>0</icon>
  952.         <textAlign>left</textAlign>
  953.         <font>Geneva</font>
  954.         <textSize>12</textSize>
  955.         <textStyle>plain</textStyle>
  956.         <textHeight>16</textHeight>
  957.         <name>resourceID</name>
  958.         <script>on mouseEntershowABalloon "The number in this field identifies the new " ¬¨& "STR resource which will be created.",,5end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  959.     </part>
  960.     <part>
  961.         <id>4</id>
  962.         <type>field</type>
  963.         <visible> <true /> </visible>
  964.         <dontWrap> <false /> </dontWrap>
  965.         <dontSearch> <false /> </dontSearch>
  966.         <sharedText> <false /> </sharedText>
  967.         <fixedLineHeight> <false /> </fixedLineHeight>
  968.         <autoTab> <false /> </autoTab>
  969.         <lockText> <false /> </lockText>
  970.         <rect>
  971.             <left>135</left>
  972.             <top>198</top>
  973.             <right>499</right>
  974.             <bottom>268</bottom>
  975.         </rect>
  976.         <style>rectangle</style>
  977.         <autoSelect> <false /> </autoSelect>
  978.         <showLines> <false /> </showLines>
  979.         <wideMargins> <false /> </wideMargins>
  980.         <multipleLines> <false /> </multipleLines>
  981.         <reservedFamily> 0 </reservedFamily>
  982.         <titleWidth>0</titleWidth>
  983.         <icon>0</icon>
  984.         <textAlign>left</textAlign>
  985.         <font>Geneva</font>
  986.         <textSize>12</textSize>
  987.         <textStyle>plain</textStyle>
  988.         <textHeight>16</textHeight>
  989.         <name>theString</name>
  990.         <script></script>
  991.     </part>
  992.     <part>
  993.         <id>5</id>
  994.         <type>field</type>
  995.         <visible> <true /> </visible>
  996.         <dontWrap> <false /> </dontWrap>
  997.         <dontSearch> <false /> </dontSearch>
  998.         <sharedText> <false /> </sharedText>
  999.         <fixedLineHeight> <false /> </fixedLineHeight>
  1000.         <autoTab> <false /> </autoTab>
  1001.         <lockText> <false /> </lockText>
  1002.         <rect>
  1003.             <left>135</left>
  1004.             <top>275</top>
  1005.             <right>402</right>
  1006.             <bottom>296</bottom>
  1007.         </rect>
  1008.         <style>rectangle</style>
  1009.         <autoSelect> <false /> </autoSelect>
  1010.         <showLines> <false /> </showLines>
  1011.         <wideMargins> <false /> </wideMargins>
  1012.         <multipleLines> <false /> </multipleLines>
  1013.         <reservedFamily> 0 </reservedFamily>
  1014.         <titleWidth>0</titleWidth>
  1015.         <icon>0</icon>
  1016.         <textAlign>left</textAlign>
  1017.         <font>Geneva</font>
  1018.         <textSize>12</textSize>
  1019.         <textStyle>plain</textStyle>
  1020.         <textHeight>16</textHeight>
  1021.         <name>resourceName</name>
  1022.         <script></script>
  1023.     </part>
  1024.     <part>
  1025.         <id>6</id>
  1026.         <type>button</type>
  1027.         <visible> <true /> </visible>
  1028.         <reserved5> 0 </reserved5>
  1029.         <reserved4> 0 </reserved4>
  1030.         <reserved3> 0 </reserved3>
  1031.         <reserved2> 0 </reserved2>
  1032.         <reserved1> 0 </reserved1>
  1033.         <enabled> <true /> </enabled>
  1034.         <rect>
  1035.             <left>187</left>
  1036.             <top>309</top>
  1037.             <right>328</right>
  1038.             <bottom>331</bottom>
  1039.         </rect>
  1040.         <style>transparent</style>
  1041.         <showName> <false /> </showName>
  1042.         <highlight> <false /> </highlight>
  1043.         <autoHighlight> <true /> </autoHighlight>
  1044.         <sharedHighlight> <true /> </sharedHighlight>
  1045.         <family>0</family>
  1046.         <titleWidth>0</titleWidth>
  1047.         <icon>0</icon>
  1048.         <textAlign>center</textAlign>
  1049.         <font>Chicago</font>
  1050.         <textSize>12</textSize>
  1051.         <textStyle>plain</textStyle>
  1052.         <name>Create The String</name>
  1053.         <script>on mouseUpput cd fld "resourceID" into resourceIDput cd fld "theString" into theStringput cd fld "resourceName" into theNameput cd fld "theFile" into theFileif ((resourceID < 0) or (resourceID > 32000)) thenanswer "Resource ID must be between 0 and 32000."select text of cd fld "resourceID"exit mouseUpend ifif theName is empty then put " " into theNameCreateSTR theFile, resourceID, theString, theNameif the result <> empty then answer the resultend mouseUpon mouseEnterShowABalloon "After filling in these fields, " ¬¨& "click here to create a STR resource which will be stored " ¬¨& "in the indicated stack. You can use this resource with Balloons() " ¬¨& "when using "&quote&"ShowSTR"&quote&" as the Selector. The " ¬¨& "script of this button contains an example of " ¬¨& quote&"CreateSTR."&quoteend mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1054.     </part>
  1055.     <part>
  1056.         <id>8</id>
  1057.         <type>button</type>
  1058.         <visible> <true /> </visible>
  1059.         <reserved5> 0 </reserved5>
  1060.         <reserved4> 0 </reserved4>
  1061.         <reserved3> 0 </reserved3>
  1062.         <reserved2> 0 </reserved2>
  1063.         <reserved1> 0 </reserved1>
  1064.         <enabled> <true /> </enabled>
  1065.         <rect>
  1066.             <left>244</left>
  1067.             <top>173</top>
  1068.             <right>337</right>
  1069.             <bottom>195</bottom>
  1070.         </rect>
  1071.         <style>transparent</style>
  1072.         <showName> <false /> </showName>
  1073.         <highlight> <false /> </highlight>
  1074.         <autoHighlight> <true /> </autoHighlight>
  1075.         <sharedHighlight> <true /> </sharedHighlight>
  1076.         <family>0</family>
  1077.         <titleWidth>0</titleWidth>
  1078.         <icon>0</icon>
  1079.         <textAlign>center</textAlign>
  1080.         <font>Chicago</font>
  1081.         <textSize>12</textSize>
  1082.         <textStyle>plain</textStyle>
  1083.         <name>Choose File</name>
  1084.         <script>on mouseUpanswer file "Select file in which to store STR resource:" of type STAKif it is empty then exit mouseUpput it into cd fld "theFile"put lpc(it) into cd fld "shortFileName"end mouseUpon mouseEnterShowAString 1517,,2end mouseEnteron mouseLeaveRemoveABalloonend mouseLeavefunction lpc thePathput empty into temprepeat until last char of thePath = ":"if last char of thePath <> quotethen put last char of thePath before tempdelete last char of thePathend repeatreturn tempend lpc-- ShowAString handler is located in the script of this background</script>
  1085.     </part>
  1086.     <part>
  1087.         <id>9</id>
  1088.         <type>field</type>
  1089.         <visible> <false /> </visible>
  1090.         <dontWrap> <false /> </dontWrap>
  1091.         <dontSearch> <false /> </dontSearch>
  1092.         <sharedText> <false /> </sharedText>
  1093.         <fixedLineHeight> <false /> </fixedLineHeight>
  1094.         <autoTab> <false /> </autoTab>
  1095.         <lockText> <true /> </lockText>
  1096.         <rect>
  1097.             <left>342</left>
  1098.             <top>174</top>
  1099.             <right>499</right>
  1100.             <bottom>193</bottom>
  1101.         </rect>
  1102.         <style>rectangle</style>
  1103.         <autoSelect> <false /> </autoSelect>
  1104.         <showLines> <false /> </showLines>
  1105.         <wideMargins> <false /> </wideMargins>
  1106.         <multipleLines> <false /> </multipleLines>
  1107.         <reservedFamily> 0 </reservedFamily>
  1108.         <titleWidth>0</titleWidth>
  1109.         <icon>0</icon>
  1110.         <textAlign>left</textAlign>
  1111.         <font>Geneva</font>
  1112.         <textSize>12</textSize>
  1113.         <textStyle>plain</textStyle>
  1114.         <textHeight>16</textHeight>
  1115.         <name>theFile</name>
  1116.         <script></script>
  1117.     </part>
  1118.     <part>
  1119.         <id>10</id>
  1120.         <type>field</type>
  1121.         <visible> <true /> </visible>
  1122.         <dontWrap> <false /> </dontWrap>
  1123.         <dontSearch> <false /> </dontSearch>
  1124.         <sharedText> <false /> </sharedText>
  1125.         <fixedLineHeight> <false /> </fixedLineHeight>
  1126.         <autoTab> <false /> </autoTab>
  1127.         <lockText> <true /> </lockText>
  1128.         <rect>
  1129.             <left>342</left>
  1130.             <top>174</top>
  1131.             <right>499</right>
  1132.             <bottom>193</bottom>
  1133.         </rect>
  1134.         <style>rectangle</style>
  1135.         <autoSelect> <false /> </autoSelect>
  1136.         <showLines> <false /> </showLines>
  1137.         <wideMargins> <false /> </wideMargins>
  1138.         <multipleLines> <false /> </multipleLines>
  1139.         <reservedFamily> 0 </reservedFamily>
  1140.         <titleWidth>0</titleWidth>
  1141.         <icon>0</icon>
  1142.         <textAlign>left</textAlign>
  1143.         <font>Geneva</font>
  1144.         <textSize>12</textSize>
  1145.         <textStyle>plain</textStyle>
  1146.         <textHeight>16</textHeight>
  1147.         <name>ShortFileName</name>
  1148.         <script>on mouseEntershowABalloon "The stack name in this field shows where the new " ¬¨& "STR resource will be stored. Change the name by clicking the " ¬¨& "Choose File button.",,5end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1149.     </part>
  1150.     <content>
  1151.         <layer>background</layer>
  1152.         <id>3</id>
  1153.         <text><span class="style2">reateSTR is an XCMD, included in this stack, which permits the creation of STR resources without leaving HyperCard. You can use these STR resources in your own stacks with Balloons() when "ShowSTR" is the Selector. This card may be used to create and store STR resources in any of your own stacks; however, </span><span class="style3">if you would like to copy the CreateSTR XCMD to another stack, be sure to read the warning at the bottom of this field!</span><span class="style2">In the current version, 1.0, the syntax variations are:CreateSTR "!"    -- returns version information in "the result"CreateSTR "?"   -- returns syntax information in "the result"</span><span class="style3">CreateSTR theFile, resourceID, theString[, resourceName] </span><span class="style2">-- creates an STR resource and stores it in the resource fork of the indicated stacktheFile can be any file. If it is not in the same folder as the current stack, you need to provide a full path name.  The easiest way to do this is with the "answer file" command provided by HyperCard, as shown in the script of the "Choose File:" button below. If theFile is empty, the string will be put into the stack containing the XCMD (in this case, the Balloons stack.)</span><span class="style3"></span><span class="style2">The resource ID can be any integer between 0 and 32000. If there is already an existing STR resource with the chosen ID number, a dialog box is presented giving you the choice of 1) cancelling the request to create the resource, 2) changing the ID number of the new STR resource, or 3) replacing the existing STR resource with the new one you are creating.theString can be any HyperCard container or string literal.resourceName is optional and should be a short string describing the resource.  If nothing is passed, the STR resource will have no name.You can create STR resources from this card. First click "Choose File:" and choose the stack in which you wish to store the STR resource. Fill in the remaining fields below and click the "Create the String" button. The STR resource will be stored in the resource fork of the stack indicated in the Choose File field. </span><span class="style3">WARNING:</span><span class="style2"> If you are going to copy the CreateSTR XCMD to another stack, you must also copy the DLOG and DITL resources (both with ID's number 1514.) If these resources aren't present and you try to create an STR when there is already an existing STR with the same ID, you will crash </span><span class="style12">very</span><span class="style2"> comprehensively.</span></text>
  1154.     </content>
  1155.     <content>
  1156.         <layer>card</layer>
  1157.         <id>10</id>
  1158.         <text>Balloons!1.1</text>
  1159.     </content>
  1160.     <name>Create Strings</name>
  1161.     <script>on closeCardput empty into cd fld "theFile"pass closeCardend closeCardon openCardput the short name of this stack into cd fld "shortFileName"pass openCardend openCard</script>
  1162. </card>
  1163.  
  1164.  
  1165. card_5879.xml
  1166. <?xml version="1.0" encoding="utf-8" ?>
  1167. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1168. <card>
  1169.     <id>5879</id>
  1170.     <filler1>0</filler1>
  1171.     <bitmap>BMAP_6409.pbm</bitmap>
  1172.     <cantDelete> <false /> </cantDelete>
  1173.     <showPict> <true /> </showPict>
  1174.     <dontSearch> <false /> </dontSearch>
  1175.     <owner>3999</owner>
  1176.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  1177.     <part>
  1178.         <id>1</id>
  1179.         <type>button</type>
  1180.         <visible> <true /> </visible>
  1181.         <reserved5> 0 </reserved5>
  1182.         <reserved4> 0 </reserved4>
  1183.         <reserved3> 0 </reserved3>
  1184.         <reserved2> 0 </reserved2>
  1185.         <reserved1> 0 </reserved1>
  1186.         <enabled> <true /> </enabled>
  1187.         <rect>
  1188.             <left>168</left>
  1189.             <top>224</top>
  1190.             <right>354</right>
  1191.             <bottom>246</bottom>
  1192.         </rect>
  1193.         <style>transparent</style>
  1194.         <showName> <false /> </showName>
  1195.         <highlight> <false /> </highlight>
  1196.         <autoHighlight> <true /> </autoHighlight>
  1197.         <sharedHighlight> <true /> </sharedHighlight>
  1198.         <family>0</family>
  1199.         <titleWidth>0</titleWidth>
  1200.         <icon>0</icon>
  1201.         <textAlign>center</textAlign>
  1202.         <font>Chicago</font>
  1203.         <textSize>12</textSize>
  1204.         <textStyle>plain</textStyle>
  1205.         <name>Balloon Versions Reference</name>
  1206.         <script>on mouseUppicture 5002,"resource",plainend mouseUpon mouseEntershowABalloon "Click here to see the different balloon versions "¬¨& "available for use with Balloons() XFCN."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1207.     </part>
  1208.     <content>
  1209.         <layer>background</layer>
  1210.         <id>3</id>
  1211.         <text><span class="style2">ach of the Standard Display Calls can take one or two optional parameters:   - Fourth parameter: Version: a number between 0 and 7 indicating the preferred shape and location of the balloon's tip. To see the possible balloon variations, click the "Balloon Versions Reference" button on this card.   - Fifth parameter: alternativeRect: a HyperCard rectangle used to create a "hot rectangle."These parameters are described in detail below.</span><span class="style10">Version</span><span class="style1"></span><span class="style2">The fourth parameter, which is optional, must be a number between 0 and 7 which indicates the </span><span class="style9">preferred</span><span class="style2"> version of the balloon to be used. The balloon versions vary in appearance by where on the balloon the tip is located and the direction in which it points. To see the possible Version variations, click the "Balloon Versions Reference" button on this card.Note that the Version is simply the </span><span class="style9">preferred</span><span class="style2"> style. The XFCN (via the Help Manager) may move the balloon or change its style to ensure that the balloon appears on screen and hides as little of the object of interest as possible. If no alternativeRect is passed (see below,) the requested Version will usually be used. It will only change the Version if necessary to keep the balloon on the screen.If no Version is passed or an empty parameter is passed, the Version defaults to style 0, which seems to look the best most of the time.</span><span class="style10">AlternativeRect</span><span class="style1"></span><span class="style2">The alternativeRect is the "hot rectangle" which specifies the area the mouse must be in for a balloon to be displayed. Generally in the case of buttons and fields, you will want this to be the rect of the object and may choose not to pass an alternativeRect, using instead "mouseEnter" and "mouseLeave" scripts to control the appearance and removal of balloons. Except for a few fields (like this one,) this is how balloons are controlled for all the objects in this stack. There is one advantage, however, to passing an alternativeRect parameter. If you pass an alternativeRect, the balloon is automatically removed when the mouse leaves the "hot rectangle," with no need to call Balloons("Remove").The alternativeRect is optional and can be omitted even when a Version is passed, so the following is legal:put Balloons("Show", myMessage, theTip, 5)  into helpResult This would display the string in myMessage at the point in theTip, preferably using balloon version number 5.If you want to indicate an alternativeRect but no Version, then an empty parameter must be passed in the Version position:put Balloons("Show", myMessage, theTip,,myRectangle) into helpResultThis is equivalent to:put Balloons("Show", myMessage, theTip,0,myRectangle) into helpResult</span></text>
  1212.     </content>
  1213.     <name>Optional Parameters</name>
  1214.     <script></script>
  1215. </card>
  1216.  
  1217.  
  1218. card_5335.xml
  1219. <?xml version="1.0" encoding="utf-8" ?>
  1220. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1221. <card>
  1222.     <id>5335</id>
  1223.     <filler1>0</filler1>
  1224.     <bitmap>BMAP_6043.pbm</bitmap>
  1225.     <cantDelete> <false /> </cantDelete>
  1226.     <showPict> <true /> </showPict>
  1227.     <dontSearch> <false /> </dontSearch>
  1228.     <owner>3999</owner>
  1229.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  1230.     <content>
  1231.         <layer>background</layer>
  1232.         <id>3</id>
  1233.         <text><span class="style2">ollowing are the standard calls to Balloons() which actually display a help balloon. There are three required parameters for each call:   -First parameter: "Selector": the selector tells Balloons() what method it should use to display the balloon.   - Second parameter: "Message": information about the message to be shown in the balloon.  The contents and form of the Message depend on the Selector.   - Third parameter: "Tip": a point (h,v) in card coordinates (i.e. local coordinates) indicating the desired location of the tip of the balloon. When no optional parameters are passed, the tip of the balloon will always appear at the requested point. (Optional parameters are discussed on the next card.)Both the Message and Tip can be in any HyperCard container and the container passed instead of the actual value.If you have Balloon Help tuned on, you may click on any bolded example to see a representative balloon or return value:</span><span class="style10">Balloons("Show", myMessage, Tip)</span><span class="style1"></span><span class="style2">The "Show" Selector is used to show a HyperCard string contained in myMessage. This can be done either by putting the message into a container and passing the container, e.g.:put "This is an example of a string to be shown by Balloons XFCN" into myMessageput Balloons("Show",myMessage, the loc of target) into helpResultor by passing it directly:put Balloons("Show",¬¨"This is an example of directly passing a string to be shown by Balloons()",¬¨the loc of the target) into helpResult</span><span class="style10">Balloons("ShowPICT", PictID, Tip)</span><span class="style1"></span><span class="style2">The "ShowPICT" Selector is used to display a PICT resource whose resource ID is contained in PictID. For example:put the loc of the target into Tipput Balloons("ShowPICT", 1513, Tip) into helpResult</span><span class="style10">Balloons("ShowSTR", STRID, Tip)</span><span class="style1"></span><span class="style2">The "ShowSTR" Selector is used to show an STR resource whose resource ID is contained in STRID. For example:put the loc of the target into Tipput Balloons("ShowSTR", 1513, Tip) into helpResult</span><span class="style10">Balloons("ShowSTRList", "STRListID, index", Tip)</span><span class="style1"></span><span class="style2">The "ShowSTRList" Selector is used to show a  string contained in an STR# (string list) resource. The Message parameter is a HyperCard string containing two items: the STR# resource ID, and the desired string's index (its position in the STR# resource.) These two items must be separated by a comma.  For example, if you wanted to display the second string in STR# resource ID 1513, you would script:put 1513 && "," && 2 into myMessageput the loc of the target into Tipput Balloons("ShowSTRList", myMessage, Tip) into helpResult</span><span class="style10">Balloons("ShowStyle", StyledTextID, Tip)</span><span class="style1"></span><span class="style2">The "ShowStyle" Selector is used to show a  string contained in an TEXT resource using the style contained in an 'styl' resource of the same ID. The Message parameter is a HyperCard string containing the TEXT and style resource ID.  For example, to show styled text ID 1518:put the loc of the target into Tipput Balloons("ShowStyle", 1518, Tip) into helpResult</span></text>
  1234.     </content>
  1235.     <name>Standard Display Calls</name>
  1236.     <script>on doDisplayglobal isSixif isSix then errorMsgif the textstyle of the clickline = "bold" thenput "1515" into PICTIDput "This is an example Help message." into myMessageput "1515" into STRIDput ((the left of fld "info") + 250) & "," ¬¨& the clickV into tipput 1514 into STRListIDput 1518 into StyledTextIDput 3 into indexput the rect of fld "info" into altRectsubtract 18 from item 3 of altRect -- scroll barput parseLine(value(the clickLine)) into balloonMsgdo "put " & balloonMsg & "into fld helpMessage"end ifend doDisplayfunction parseLine theLine -- add alternativeRect to paramsdelete last char of theLineput ",,altRect)" after theLinereturn theLineend parseLine</script>
  1237. </card>
  1238.  
  1239.  
  1240. card_4575.xml
  1241. <?xml version="1.0" encoding="utf-8" ?>
  1242. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1243. <card>
  1244.     <id>4575</id>
  1245.     <filler1>0</filler1>
  1246.     <bitmap>BMAP_5473.pbm</bitmap>
  1247.     <cantDelete> <false /> </cantDelete>
  1248.     <showPict> <true /> </showPict>
  1249.     <dontSearch> <false /> </dontSearch>
  1250.     <owner>3999</owner>
  1251.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  1252.     <content>
  1253.         <layer>background</layer>
  1254.         <id>3</id>
  1255.         <text><span class="style2">ach utility call takes a single parameter only. There are no optional parameters. Because Balloons() is an XFCN it will always return a result, which will be empty if all went well. The correct syntax for utility calls follows the form:put Balloons("On") into helpResultYou will then probably want to test the result:if helpResult is not empty then     put helpResult into the message boxend ifFollowing are the utility calls for Balloons(). You may click on any bolded example to see a return value:</span><span class="style10">Balloons("!")</span><span class="style1"></span><span class="style2">Returns a string with version and copyright information</span><span class="style10">Balloons("?")</span><span class="style1"></span><span class="style2">Returns a string with abbreviated syntax help</span><span class="style10">Balloons("isOn")</span><span class="style1"></span><span class="style2">Returns either "true" or "false", indicating whether Balloon Help is currently on.  A single call to "isOn" can also determine if Balloon Help (i.e., the Help Manager) is present, as an error message will be returned if it is not.</span><span class="style10">Balloons("On")</span><span class="style1"></span><span class="style2">Turns Balloon Help on. This is the same as selecting "Show Balloons" from the Help menu. If Balloon Help is already on, it has no effect. Note that this affects </span><span class="style9">all</span><span class="style2"> applications, not just HyperCard, so if the author turns Balloon Help on with this, she has an obligation to turn it back off when HyperCard is not the active application any longer.</span><span class="style10">Balloons("Off")</span><span class="style1"></span><span class="style2">Turns Balloon Help off. This is the same as selecting "Hide Balloons" from the Help menu. If Balloon Help is already off, this has no effect.</span><span class="style10">Balloons("Remove")</span><span class="style1"></span><span class="style2">If a balloon is showing, this removes it from the screen. If there is no balloon showing, an error message is returned for diagnostic purposes, unless Balloon Help is turned off.</span></text>
  1256.     </content>
  1257.     <name>Utility Calls</name>
  1258.     <script>on doDisplayglobal isSixif isSix then errorMsgif the textstyle of the clickline = "bold" thendo "put " & value(the clickLine) & "into fld helpMessage"end ifend doDisplay</script>
  1259. </card>
  1260.  
  1261.  
  1262. card_4139.xml
  1263. <?xml version="1.0" encoding="utf-8" ?>
  1264. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1265. <card>
  1266.     <id>4139</id>
  1267.     <filler1>0</filler1>
  1268.     <bitmap>BMAP_4908.pbm</bitmap>
  1269.     <cantDelete> <false /> </cantDelete>
  1270.     <showPict> <true /> </showPict>
  1271.     <dontSearch> <false /> </dontSearch>
  1272.     <owner>3999</owner>
  1273.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  1274.     <part>
  1275.         <id>2</id>
  1276.         <type>button</type>
  1277.         <visible> <true /> </visible>
  1278.         <reserved5> 0 </reserved5>
  1279.         <reserved4> 0 </reserved4>
  1280.         <reserved3> 0 </reserved3>
  1281.         <reserved2> 0 </reserved2>
  1282.         <reserved1> 0 </reserved1>
  1283.         <enabled> <true /> </enabled>
  1284.         <rect>
  1285.             <left>345</left>
  1286.             <top>177</top>
  1287.             <right>421</right>
  1288.             <bottom>199</bottom>
  1289.         </rect>
  1290.         <style>transparent</style>
  1291.         <showName> <false /> </showName>
  1292.         <highlight> <false /> </highlight>
  1293.         <autoHighlight> <true /> </autoHighlight>
  1294.         <sharedHighlight> <true /> </sharedHighlight>
  1295.         <family>0</family>
  1296.         <titleWidth>0</titleWidth>
  1297.         <icon>0</icon>
  1298.         <textAlign>center</textAlign>
  1299.         <font>Chicago</font>
  1300.         <textSize>12</textSize>
  1301.         <textStyle>plain</textStyle>
  1302.         <name>Syntax</name>
  1303.         <script>on mouseUpput Balloons("?") into fld "helpMessage"end mouseUpon mouseEnterShowABalloon "Click on this to see brief information "¬¨& "on the syntax for Balloons().  Also note the variation "¬¨& "code and the use of the "&quote&"?"&quote&" parameter used in " ¬¨& "the button script.",,5end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1304.     </part>
  1305.     <part>
  1306.         <id>4</id>
  1307.         <type>button</type>
  1308.         <visible> <true /> </visible>
  1309.         <reserved5> 0 </reserved5>
  1310.         <reserved4> 0 </reserved4>
  1311.         <reserved3> 0 </reserved3>
  1312.         <reserved2> 0 </reserved2>
  1313.         <reserved1> 0 </reserved1>
  1314.         <enabled> <true /> </enabled>
  1315.         <rect>
  1316.             <left>425</left>
  1317.             <top>177</top>
  1318.             <right>501</right>
  1319.             <bottom>199</bottom>
  1320.         </rect>
  1321.         <style>transparent</style>
  1322.         <showName> <false /> </showName>
  1323.         <highlight> <false /> </highlight>
  1324.         <autoHighlight> <true /> </autoHighlight>
  1325.         <sharedHighlight> <true /> </sharedHighlight>
  1326.         <family>0</family>
  1327.         <titleWidth>0</titleWidth>
  1328.         <icon>0</icon>
  1329.         <textAlign>center</textAlign>
  1330.         <font>Chicago</font>
  1331.         <textSize>12</textSize>
  1332.         <textStyle>plain</textStyle>
  1333.         <name>Version</name>
  1334.         <script>on mouseUpput Balloons("!") into fld "helpMessage"end mouseUpon mouseEnterShowABalloon "Click here for copyright and "¬¨& "version information. See the button script for an example "¬¨& "of the use of the "&quote&"!"&quote&"  parameter.",,5end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1335.     </part>
  1336.     <part>
  1337.         <id>8</id>
  1338.         <type>button</type>
  1339.         <visible> <true /> </visible>
  1340.         <reserved5> 0 </reserved5>
  1341.         <reserved4> 0 </reserved4>
  1342.         <reserved3> 0 </reserved3>
  1343.         <reserved2> 0 </reserved2>
  1344.         <reserved1> 0 </reserved1>
  1345.         <enabled> <true /> </enabled>
  1346.         <rect>
  1347.             <left>13</left>
  1348.             <top>177</top>
  1349.             <right>95</right>
  1350.             <bottom>199</bottom>
  1351.         </rect>
  1352.         <style>transparent</style>
  1353.         <showName> <false /> </showName>
  1354.         <highlight> <false /> </highlight>
  1355.         <autoHighlight> <true /> </autoHighlight>
  1356.         <sharedHighlight> <true /> </sharedHighlight>
  1357.         <family>0</family>
  1358.         <titleWidth>0</titleWidth>
  1359.         <icon>0</icon>
  1360.         <textAlign>center</textAlign>
  1361.         <font>Chicago</font>
  1362.         <textSize>12</textSize>
  1363.         <textStyle>plain</textStyle>
  1364.         <name>ShowSTR# 1</name>
  1365.         <script>on mouseUpput "Balloons("&quote&"ShowSTRList"&quote&", STRResourceID, tip[, version, alternativeRect])" ¬¨into fld "helpMessage"end mouseUpon mouseEnter-- This displays item 1 of STR# resource ID number 1514-- Note that it differs from the mouseEnter handler for-- "ShowSTR# 2" only in the item number to be displayed.ShowASTRList 1514,1,,6end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave-- ShowASTRList handler is located in the script of this background</script>
  1366.     </part>
  1367.     <part>
  1368.         <id>9</id>
  1369.         <type>button</type>
  1370.         <visible> <true /> </visible>
  1371.         <reserved5> 0 </reserved5>
  1372.         <reserved4> 0 </reserved4>
  1373.         <reserved3> 0 </reserved3>
  1374.         <reserved2> 0 </reserved2>
  1375.         <reserved1> 0 </reserved1>
  1376.         <enabled> <true /> </enabled>
  1377.         <rect>
  1378.             <left>100</left>
  1379.             <top>177</top>
  1380.             <right>182</right>
  1381.             <bottom>199</bottom>
  1382.         </rect>
  1383.         <style>transparent</style>
  1384.         <showName> <false /> </showName>
  1385.         <highlight> <false /> </highlight>
  1386.         <autoHighlight> <true /> </autoHighlight>
  1387.         <sharedHighlight> <true /> </sharedHighlight>
  1388.         <family>0</family>
  1389.         <titleWidth>0</titleWidth>
  1390.         <icon>0</icon>
  1391.         <textAlign>center</textAlign>
  1392.         <font>Chicago</font>
  1393.         <textSize>12</textSize>
  1394.         <textStyle>plain</textStyle>
  1395.         <name>ShowSTR# 2</name>
  1396.         <script>on mouseUpput "Balloons("&quote&"ShowStyle"&quote&", StyleResourceID, tip[, version, alternativeRect])" ¬¨into fld "helpMessage"end mouseUpon mouseEnterShowStyledText 1517,,6end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave-- ShowStyledText handler is located in the script of this stack</script>
  1397.     </part>
  1398.     <part>
  1399.         <id>10</id>
  1400.         <type>button</type>
  1401.         <visible> <true /> </visible>
  1402.         <reserved5> 0 </reserved5>
  1403.         <reserved4> 0 </reserved4>
  1404.         <reserved3> 0 </reserved3>
  1405.         <reserved2> 0 </reserved2>
  1406.         <reserved1> 0 </reserved1>
  1407.         <enabled> <true /> </enabled>
  1408.         <rect>
  1409.             <left>186</left>
  1410.             <top>177</top>
  1411.             <right>262</right>
  1412.             <bottom>199</bottom>
  1413.         </rect>
  1414.         <style>transparent</style>
  1415.         <showName> <false /> </showName>
  1416.         <highlight> <false /> </highlight>
  1417.         <autoHighlight> <true /> </autoHighlight>
  1418.         <sharedHighlight> <true /> </sharedHighlight>
  1419.         <family>0</family>
  1420.         <titleWidth>0</titleWidth>
  1421.         <icon>0</icon>
  1422.         <textAlign>center</textAlign>
  1423.         <font>Chicago</font>
  1424.         <textSize>12</textSize>
  1425.         <textStyle>plain</textStyle>
  1426.         <name>ShowPICT</name>
  1427.         <script>on mouseUpput "Balloons("&quote&"ShowPICT"&quote&", pictResourceID, tip[, Version, AlternativeRect])" ¬¨into fld "helpMessage"end mouseUpon mouseEnterput calcTip() into tipput Balloons("ShowPICT", 1514, tip) into helpResultput helpResult into fld "helpMessage"repeat until "-853" is not in helpResultput Balloons("ShowPICT", 1513, tip) into helpResultput helpResult into fld "helpMessage"end repeatend mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1428.     </part>
  1429.     <part>
  1430.         <id>11</id>
  1431.         <type>button</type>
  1432.         <visible> <true /> </visible>
  1433.         <reserved5> 0 </reserved5>
  1434.         <reserved4> 0 </reserved4>
  1435.         <reserved3> 0 </reserved3>
  1436.         <reserved2> 0 </reserved2>
  1437.         <reserved1> 0 </reserved1>
  1438.         <enabled> <true /> </enabled>
  1439.         <rect>
  1440.             <left>266</left>
  1441.             <top>177</top>
  1442.             <right>342</right>
  1443.             <bottom>199</bottom>
  1444.         </rect>
  1445.         <style>transparent</style>
  1446.         <showName> <false /> </showName>
  1447.         <highlight> <false /> </highlight>
  1448.         <autoHighlight> <true /> </autoHighlight>
  1449.         <sharedHighlight> <true /> </sharedHighlight>
  1450.         <family>0</family>
  1451.         <titleWidth>0</titleWidth>
  1452.         <icon>0</icon>
  1453.         <textAlign>center</textAlign>
  1454.         <font>Chicago</font>
  1455.         <textSize>12</textSize>
  1456.         <textStyle>plain</textStyle>
  1457.         <name>ShowSTR</name>
  1458.         <script>on mouseUpput "Balloons("&quote&"ShowSTR"&quote&", STRResourceID, tip[, version, alternativeRect])" ¬¨into fld "helpMessage"end mouseUpon mouseEnterShowAString 1514,,6end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave-- ShowAString handler is located in the script of this background</script>
  1459.     </part>
  1460.     <content>
  1461.         <layer>background</layer>
  1462.         <id>3</id>
  1463.         <text><span class="style2">alloons() XFCN is an external function which allows the objects in your stacks to display help balloons when the stack is run with System 7.0 or higher. To use the XFCN, you must copy the Balloons XFCN to your stack using either ResEdit or ResCopy. Once installed, use the scripts and function calls described in this stack to display your own help balloons.The many ways you may call Balloons() are explained later in detail, but brief examples are included here for quick reference. Click the balloon button above to turn on Balloon Help, and examine the balloons and scripts of the buttons below.</span><span class="style3">Changes for version 1.1:</span><span class="style2">1) The selector parameter, which determines what function Balloons() will execute, is no longer case sensitive.2) A new selector, "ShowStyle," has been added which permits the display of styled text resources, i.e. text with attributes like bold, italics, and underlining.</span><span class="style3">Using Balloons()</span><span class="style2">Balloons() XFCN may be used to make two types of calls: general utility calls and display calls. General utility calls control the XFCN itself (turning on Balloon Help, for example) and use the syntax:</span><span class="style3">Balloons(Utility Call)</span><span class="style2">The Balloons() XFCN also uses display calls, which may be used to specifically display and manipulate various types of help balloons. Display calls use the syntax:</span><span class="style3">Balloons("Selector","Message","Tip"[,"Version","AlternativeRect"])</span><span class="style2"></span></text>
  1464.     </content>
  1465.     <name>General Syntax</name>
  1466.     <script>on RemoveABalloonget Balloons("Remove")if it is not empty thenput it into fld "helpMessage"end ifend RemoveABalloon</script>
  1467. </card>
  1468.  
  1469.  
  1470. card_2226.xml
  1471. <?xml version="1.0" encoding="utf-8" ?>
  1472. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1473. <card>
  1474.     <id>2226</id>
  1475.     <filler1>0</filler1>
  1476.     <bitmap>BMAP_2350.pbm</bitmap>
  1477.     <cantDelete> <false /> </cantDelete>
  1478.     <showPict> <true /> </showPict>
  1479.     <dontSearch> <false /> </dontSearch>
  1480.     <owner>2740</owner>
  1481.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  1482.     <part>
  1483.         <id>6</id>
  1484.         <type>field</type>
  1485.         <visible> <true /> </visible>
  1486.         <dontWrap> <false /> </dontWrap>
  1487.         <dontSearch> <false /> </dontSearch>
  1488.         <sharedText> <false /> </sharedText>
  1489.         <fixedLineHeight> <true /> </fixedLineHeight>
  1490.         <autoTab> <false /> </autoTab>
  1491.         <lockText> <true /> </lockText>
  1492.         <rect>
  1493.             <left>126</left>
  1494.             <top>128</top>
  1495.             <right>384</right>
  1496.             <bottom>252</bottom>
  1497.         </rect>
  1498.         <style>rectangle</style>
  1499.         <autoSelect> <false /> </autoSelect>
  1500.         <showLines> <false /> </showLines>
  1501.         <wideMargins> <false /> </wideMargins>
  1502.         <multipleLines> <false /> </multipleLines>
  1503.         <reservedFamily> 0 </reservedFamily>
  1504.         <titleWidth>0</titleWidth>
  1505.         <icon>0</icon>
  1506.         <textAlign>center</textAlign>
  1507.         <font>Geneva</font>
  1508.         <textSize>10</textSize>
  1509.         <textStyle>bold</textStyle>
  1510.         <textHeight>15</textHeight>
  1511.         <name>HyperActiveSoftware</name>
  1512.         <script>on mouseUpsend mouseUp to btn "hyperActive"end mouseUp</script>
  1513.     </part>
  1514.     <part>
  1515.         <id>1</id>
  1516.         <type>field</type>
  1517.         <visible> <true /> </visible>
  1518.         <dontWrap> <false /> </dontWrap>
  1519.         <dontSearch> <false /> </dontSearch>
  1520.         <sharedText> <false /> </sharedText>
  1521.         <fixedLineHeight> <true /> </fixedLineHeight>
  1522.         <autoTab> <false /> </autoTab>
  1523.         <lockText> <true /> </lockText>
  1524.         <rect>
  1525.             <left>24</left>
  1526.             <top>77</top>
  1527.             <right>491</right>
  1528.             <bottom>296</bottom>
  1529.         </rect>
  1530.         <style>rectangle</style>
  1531.         <autoSelect> <false /> </autoSelect>
  1532.         <showLines> <false /> </showLines>
  1533.         <wideMargins> <true /> </wideMargins>
  1534.         <multipleLines> <false /> </multipleLines>
  1535.         <reservedFamily> 0 </reservedFamily>
  1536.         <titleWidth>0</titleWidth>
  1537.         <icon>0</icon>
  1538.         <textAlign>left</textAlign>
  1539.         <font>Geneva</font>
  1540.         <textSize>12</textSize>
  1541.         <textStyle>plain</textStyle>
  1542.         <textHeight>16</textHeight>
  1543.         <name>WhatsNew</name>
  1544.         <script></script>
  1545.     </part>
  1546.     <part>
  1547.         <id>2</id>
  1548.         <type>button</type>
  1549.         <visible> <true /> </visible>
  1550.         <reserved5> 0 </reserved5>
  1551.         <reserved4> 0 </reserved4>
  1552.         <reserved3> 0 </reserved3>
  1553.         <reserved2> 0 </reserved2>
  1554.         <reserved1> 0 </reserved1>
  1555.         <enabled> <true /> </enabled>
  1556.         <rect>
  1557.             <left>28</left>
  1558.             <top>309</top>
  1559.             <right>68</right>
  1560.             <bottom>336</bottom>
  1561.         </rect>
  1562.         <style>transparent</style>
  1563.         <showName> <false /> </showName>
  1564.         <highlight> <false /> </highlight>
  1565.         <autoHighlight> <true /> </autoHighlight>
  1566.         <sharedHighlight> <true /> </sharedHighlight>
  1567.         <family>0</family>
  1568.         <titleWidth>0</titleWidth>
  1569.         <icon>0</icon>
  1570.         <textAlign>center</textAlign>
  1571.         <font>Chicago</font>
  1572.         <textSize>12</textSize>
  1573.         <textStyle>plain</textStyle>
  1574.         <name>Back</name>
  1575.         <script>on mouseUplock screengo cd "title"unlock screen with visual wipe rightend mouseUpon mouseEnterShowABalloon "Click here to return to the title card and the " ¬¨& "Table of Contents."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1576.     </part>
  1577.     <part>
  1578.         <id>3</id>
  1579.         <type>button</type>
  1580.         <visible> <true /> </visible>
  1581.         <reserved5> 0 </reserved5>
  1582.         <reserved4> 0 </reserved4>
  1583.         <reserved3> 0 </reserved3>
  1584.         <reserved2> 0 </reserved2>
  1585.         <reserved1> 0 </reserved1>
  1586.         <enabled> <true /> </enabled>
  1587.         <rect>
  1588.             <left>450</left>
  1589.             <top>309</top>
  1590.             <right>488</right>
  1591.             <bottom>336</bottom>
  1592.         </rect>
  1593.         <style>transparent</style>
  1594.         <showName> <false /> </showName>
  1595.         <highlight> <false /> </highlight>
  1596.         <autoHighlight> <true /> </autoHighlight>
  1597.         <sharedHighlight> <true /> </sharedHighlight>
  1598.         <family>0</family>
  1599.         <titleWidth>0</titleWidth>
  1600.         <icon>0</icon>
  1601.         <textAlign>center</textAlign>
  1602.         <font>Chicago</font>
  1603.         <textSize>12</textSize>
  1604.         <textStyle>plain</textStyle>
  1605.         <name>Next</name>
  1606.         <script>on mouseUplock screengo nextunlock screen with visual wipe leftend mouseUpon mouseEnterShowABalloon "Click here to move forward through this stack " ¬¨& "one card at a time."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1607.     </part>
  1608.     <part>
  1609.         <id>4</id>
  1610.         <type>button</type>
  1611.         <visible> <true /> </visible>
  1612.         <reserved5> 0 </reserved5>
  1613.         <reserved4> 0 </reserved4>
  1614.         <reserved3> 0 </reserved3>
  1615.         <reserved2> 0 </reserved2>
  1616.         <reserved1> 0 </reserved1>
  1617.         <enabled> <true /> </enabled>
  1618.         <rect>
  1619.             <left>410</left>
  1620.             <top>309</top>
  1621.             <right>449</right>
  1622.             <bottom>336</bottom>
  1623.         </rect>
  1624.         <style>transparent</style>
  1625.         <showName> <false /> </showName>
  1626.         <highlight> <false /> </highlight>
  1627.         <autoHighlight> <true /> </autoHighlight>
  1628.         <sharedHighlight> <true /> </sharedHighlight>
  1629.         <family>0</family>
  1630.         <titleWidth>0</titleWidth>
  1631.         <icon>0</icon>
  1632.         <textAlign>center</textAlign>
  1633.         <font>Chicago</font>
  1634.         <textSize>12</textSize>
  1635.         <textStyle>plain</textStyle>
  1636.         <name>Prev</name>
  1637.         <script>on mouseUplock screengo prevunlock screen with visual wipe rightend mouseUpon mouseEnterShowABalloon "Click here to move backward through this stack " ¬¨& "one card at a time."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1638.     </part>
  1639.     <part>
  1640.         <id>5</id>
  1641.         <type>button</type>
  1642.         <visible> <true /> </visible>
  1643.         <reserved5> 0 </reserved5>
  1644.         <reserved4> 0 </reserved4>
  1645.         <reserved3> 0 </reserved3>
  1646.         <reserved2> 0 </reserved2>
  1647.         <reserved1> 0 </reserved1>
  1648.         <enabled> <true /> </enabled>
  1649.         <rect>
  1650.             <left>197</left>
  1651.             <top>302</top>
  1652.             <right>313</right>
  1653.             <bottom>340</bottom>
  1654.         </rect>
  1655.         <style>transparent</style>
  1656.         <showName> <false /> </showName>
  1657.         <highlight> <false /> </highlight>
  1658.         <autoHighlight> <true /> </autoHighlight>
  1659.         <sharedHighlight> <true /> </sharedHighlight>
  1660.         <family>0</family>
  1661.         <titleWidth>0</titleWidth>
  1662.         <icon>0</icon>
  1663.         <textAlign>center</textAlign>
  1664.         <font>Chicago</font>
  1665.         <textSize>12</textSize>
  1666.         <textStyle>plain</textStyle>
  1667.         <name>HyperActive</name>
  1668.         <script>on mouseUplock screenset the visible of cd fld "whatsNew" to ¬¨not the visible of cd fld "whatsNew"if not the visible of cd fld "whatsNew" then put "left" into viselse put "right" into visunlock screen with visual wipe visend mouseUpon mouseEnterShowAString 1516,,0end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1669.     </part>
  1670.     <part>
  1671.         <id>7</id>
  1672.         <type>button</type>
  1673.         <visible> <true /> </visible>
  1674.         <reserved5> 0 </reserved5>
  1675.         <reserved4> 0 </reserved4>
  1676.         <reserved3> 0 </reserved3>
  1677.         <reserved2> 0 </reserved2>
  1678.         <reserved1> 0 </reserved1>
  1679.         <enabled> <true /> </enabled>
  1680.         <rect>
  1681.             <left>470</left>
  1682.             <top>18</top>
  1683.             <right>501</right>
  1684.             <bottom>45</bottom>
  1685.         </rect>
  1686.         <style>transparent</style>
  1687.         <showName> <false /> </showName>
  1688.         <highlight> <false /> </highlight>
  1689.         <autoHighlight> <false /> </autoHighlight>
  1690.         <sharedHighlight> <true /> </sharedHighlight>
  1691.         <family>0</family>
  1692.         <titleWidth>0</titleWidth>
  1693.         <icon>0</icon>
  1694.         <textAlign>center</textAlign>
  1695.         <font>Chicago</font>
  1696.         <textSize>12</textSize>
  1697.         <textStyle>plain</textStyle>
  1698.         <name>On/Off</name>
  1699.         <script>on mouseDownglobal isSixif isSix then errorMsgif Balloons("isOn") thenget Balloons("Off")set the hilite of me to falseelseget Balloons("On")set the hilite of me to truemouseEnterend ifend mouseDownon mouseEnterShowAString 1513,,2end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1700.     </part>
  1701.     <content>
  1702.         <layer>card</layer>
  1703.         <id>1</id>
  1704.         <text>1) The function selectors in Balloons() are no longer case sensitive.2) A bug has been fixed in CreateSTR which would cause a duplicate resource to be created when the user chose a new ID in the Duplicate Resource ID dialog and the new ID duplicated one already in existence.3) Support for styled text has been added to Balloons.4) New externals, CreateStyle, CreatePICT, and CreateSTRList, have been added along with cards showing how to use them.5) A couple of minor bugs associated with error messages have been fixed.</text>
  1705.     </content>
  1706.     <content>
  1707.         <layer>card</layer>
  1708.         <id>6</id>
  1709.         <text>This stack was created and designed by:HyperActive Software3712 20th Avenue SouthMinneapolis, MN 55407(612) 724-1596</text>
  1710.     </content>
  1711.     <name>What'sNew</name>
  1712.     <script>on closeCardshow cd fld "whatsNew"end closeCard</script>
  1713. </card>
  1714.  
  1715.  
  1716. card_7651.xml
  1717. <?xml version="1.0" encoding="utf-8" ?>
  1718. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1719. <card>
  1720.     <id>7651</id>
  1721.     <filler1>0</filler1>
  1722.     <bitmap>BMAP_7820.pbm</bitmap>
  1723.     <cantDelete> <false /> </cantDelete>
  1724.     <showPict> <true /> </showPict>
  1725.     <dontSearch> <false /> </dontSearch>
  1726.     <owner>2740</owner>
  1727.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  1728.     <part>
  1729.         <id>6</id>
  1730.         <type>field</type>
  1731.         <visible> <true /> </visible>
  1732.         <dontWrap> <false /> </dontWrap>
  1733.         <dontSearch> <false /> </dontSearch>
  1734.         <sharedText> <false /> </sharedText>
  1735.         <fixedLineHeight> <true /> </fixedLineHeight>
  1736.         <autoTab> <false /> </autoTab>
  1737.         <lockText> <true /> </lockText>
  1738.         <rect>
  1739.             <left>126</left>
  1740.             <top>128</top>
  1741.             <right>384</right>
  1742.             <bottom>252</bottom>
  1743.         </rect>
  1744.         <style>rectangle</style>
  1745.         <autoSelect> <false /> </autoSelect>
  1746.         <showLines> <false /> </showLines>
  1747.         <wideMargins> <false /> </wideMargins>
  1748.         <multipleLines> <false /> </multipleLines>
  1749.         <reservedFamily> 0 </reservedFamily>
  1750.         <titleWidth>0</titleWidth>
  1751.         <icon>0</icon>
  1752.         <textAlign>center</textAlign>
  1753.         <font>Geneva</font>
  1754.         <textSize>10</textSize>
  1755.         <textStyle>bold</textStyle>
  1756.         <textHeight>15</textHeight>
  1757.         <name>HyperActiveSoftware</name>
  1758.         <script>on mouseUpsend mouseUp to btn "hyperActive"end mouseUp</script>
  1759.     </part>
  1760.     <part>
  1761.         <id>1</id>
  1762.         <type>field</type>
  1763.         <visible> <true /> </visible>
  1764.         <dontWrap> <false /> </dontWrap>
  1765.         <dontSearch> <false /> </dontSearch>
  1766.         <sharedText> <false /> </sharedText>
  1767.         <fixedLineHeight> <false /> </fixedLineHeight>
  1768.         <autoTab> <false /> </autoTab>
  1769.         <lockText> <true /> </lockText>
  1770.         <rect>
  1771.             <left>24</left>
  1772.             <top>77</top>
  1773.             <right>491</right>
  1774.             <bottom>296</bottom>
  1775.         </rect>
  1776.         <style>scrolling</style>
  1777.         <autoSelect> <false /> </autoSelect>
  1778.         <showLines> <false /> </showLines>
  1779.         <wideMargins> <false /> </wideMargins>
  1780.         <multipleLines> <false /> </multipleLines>
  1781.         <reservedFamily> 0 </reservedFamily>
  1782.         <titleWidth>0</titleWidth>
  1783.         <icon>0</icon>
  1784.         <textAlign>left</textAlign>
  1785.         <font>Geneva</font>
  1786.         <textSize>12</textSize>
  1787.         <textStyle>plain</textStyle>
  1788.         <textHeight>16</textHeight>
  1789.         <name>Copyright</name>
  1790.         <script></script>
  1791.     </part>
  1792.     <part>
  1793.         <id>2</id>
  1794.         <type>button</type>
  1795.         <visible> <true /> </visible>
  1796.         <reserved5> 0 </reserved5>
  1797.         <reserved4> 0 </reserved4>
  1798.         <reserved3> 0 </reserved3>
  1799.         <reserved2> 0 </reserved2>
  1800.         <reserved1> 0 </reserved1>
  1801.         <enabled> <true /> </enabled>
  1802.         <rect>
  1803.             <left>28</left>
  1804.             <top>309</top>
  1805.             <right>68</right>
  1806.             <bottom>336</bottom>
  1807.         </rect>
  1808.         <style>transparent</style>
  1809.         <showName> <false /> </showName>
  1810.         <highlight> <false /> </highlight>
  1811.         <autoHighlight> <true /> </autoHighlight>
  1812.         <sharedHighlight> <true /> </sharedHighlight>
  1813.         <family>0</family>
  1814.         <titleWidth>0</titleWidth>
  1815.         <icon>0</icon>
  1816.         <textAlign>center</textAlign>
  1817.         <font>Chicago</font>
  1818.         <textSize>12</textSize>
  1819.         <textStyle>plain</textStyle>
  1820.         <name>Back</name>
  1821.         <script>on mouseUplock screengo cd "title"unlock screen with visual wipe rightend mouseUpon mouseEnterShowABalloon "Click here to return to the title card and the " ¬¨& "Table of Contents."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1822.     </part>
  1823.     <part>
  1824.         <id>3</id>
  1825.         <type>button</type>
  1826.         <visible> <true /> </visible>
  1827.         <reserved5> 0 </reserved5>
  1828.         <reserved4> 0 </reserved4>
  1829.         <reserved3> 0 </reserved3>
  1830.         <reserved2> 0 </reserved2>
  1831.         <reserved1> 0 </reserved1>
  1832.         <enabled> <true /> </enabled>
  1833.         <rect>
  1834.             <left>450</left>
  1835.             <top>309</top>
  1836.             <right>488</right>
  1837.             <bottom>336</bottom>
  1838.         </rect>
  1839.         <style>transparent</style>
  1840.         <showName> <false /> </showName>
  1841.         <highlight> <false /> </highlight>
  1842.         <autoHighlight> <true /> </autoHighlight>
  1843.         <sharedHighlight> <true /> </sharedHighlight>
  1844.         <family>0</family>
  1845.         <titleWidth>0</titleWidth>
  1846.         <icon>0</icon>
  1847.         <textAlign>center</textAlign>
  1848.         <font>Chicago</font>
  1849.         <textSize>12</textSize>
  1850.         <textStyle>plain</textStyle>
  1851.         <name>Next</name>
  1852.         <script>on mouseUplock screengo nextunlock screen with visual wipe leftend mouseUpon mouseEnterShowABalloon "Click here to move forward through this stack " ¬¨& "one card at a time."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1853.     </part>
  1854.     <part>
  1855.         <id>4</id>
  1856.         <type>button</type>
  1857.         <visible> <true /> </visible>
  1858.         <reserved5> 0 </reserved5>
  1859.         <reserved4> 0 </reserved4>
  1860.         <reserved3> 0 </reserved3>
  1861.         <reserved2> 0 </reserved2>
  1862.         <reserved1> 0 </reserved1>
  1863.         <enabled> <true /> </enabled>
  1864.         <rect>
  1865.             <left>410</left>
  1866.             <top>309</top>
  1867.             <right>449</right>
  1868.             <bottom>336</bottom>
  1869.         </rect>
  1870.         <style>transparent</style>
  1871.         <showName> <false /> </showName>
  1872.         <highlight> <false /> </highlight>
  1873.         <autoHighlight> <true /> </autoHighlight>
  1874.         <sharedHighlight> <true /> </sharedHighlight>
  1875.         <family>0</family>
  1876.         <titleWidth>0</titleWidth>
  1877.         <icon>0</icon>
  1878.         <textAlign>center</textAlign>
  1879.         <font>Chicago</font>
  1880.         <textSize>12</textSize>
  1881.         <textStyle>plain</textStyle>
  1882.         <name>Prev</name>
  1883.         <script>on mouseUplock screengo prevunlock screen with visual wipe rightend mouseUpon mouseEnterShowABalloon "Click here to move backward through this stack " ¬¨& "one card at a time."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1884.     </part>
  1885.     <part>
  1886.         <id>5</id>
  1887.         <type>button</type>
  1888.         <visible> <true /> </visible>
  1889.         <reserved5> 0 </reserved5>
  1890.         <reserved4> 0 </reserved4>
  1891.         <reserved3> 0 </reserved3>
  1892.         <reserved2> 0 </reserved2>
  1893.         <reserved1> 0 </reserved1>
  1894.         <enabled> <true /> </enabled>
  1895.         <rect>
  1896.             <left>197</left>
  1897.             <top>302</top>
  1898.             <right>313</right>
  1899.             <bottom>340</bottom>
  1900.         </rect>
  1901.         <style>transparent</style>
  1902.         <showName> <false /> </showName>
  1903.         <highlight> <false /> </highlight>
  1904.         <autoHighlight> <true /> </autoHighlight>
  1905.         <sharedHighlight> <true /> </sharedHighlight>
  1906.         <family>0</family>
  1907.         <titleWidth>0</titleWidth>
  1908.         <icon>0</icon>
  1909.         <textAlign>center</textAlign>
  1910.         <font>Chicago</font>
  1911.         <textSize>12</textSize>
  1912.         <textStyle>plain</textStyle>
  1913.         <name>HyperActive</name>
  1914.         <script>on mouseUplock screenset the visible of cd fld "copyright" to ¬¨not the visible of cd fld "copyright"if not the visible of cd fld "copyright" then put "left" into viselse put "right" into visunlock screen with visual wipe visend mouseUpon mouseEnterShowAString 1516,,0end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1915.     </part>
  1916.     <part>
  1917.         <id>7</id>
  1918.         <type>button</type>
  1919.         <visible> <true /> </visible>
  1920.         <reserved5> 0 </reserved5>
  1921.         <reserved4> 0 </reserved4>
  1922.         <reserved3> 0 </reserved3>
  1923.         <reserved2> 0 </reserved2>
  1924.         <reserved1> 0 </reserved1>
  1925.         <enabled> <true /> </enabled>
  1926.         <rect>
  1927.             <left>470</left>
  1928.             <top>18</top>
  1929.             <right>501</right>
  1930.             <bottom>45</bottom>
  1931.         </rect>
  1932.         <style>transparent</style>
  1933.         <showName> <false /> </showName>
  1934.         <highlight> <false /> </highlight>
  1935.         <autoHighlight> <false /> </autoHighlight>
  1936.         <sharedHighlight> <true /> </sharedHighlight>
  1937.         <family>0</family>
  1938.         <titleWidth>0</titleWidth>
  1939.         <icon>0</icon>
  1940.         <textAlign>center</textAlign>
  1941.         <font>Chicago</font>
  1942.         <textSize>12</textSize>
  1943.         <textStyle>plain</textStyle>
  1944.         <name>On/Off</name>
  1945.         <script>on mouseDownglobal isSixif isSix then errorMsgif Balloons("isOn") thenget Balloons("Off")set the hilite of me to falseelseget Balloons("On")set the hilite of me to truemouseEnterend ifend mouseDownon mouseEnterShowAString 1513,,2end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  1946.     </part>
  1947.     <content>
  1948.         <layer>card</layer>
  1949.         <id>1</id>
  1950.         <text><span class="style1">alloons XFCN, copyright ¬© 1991 by James P. Spencerand Seneca Software All Rights Reserved</span><span class="style2">It is my intention that this stack and the externals in it be freely distributed and used.  I mean the word "freely" literally.  I hereby grant the user a non-exclusive license to use this stack and the external resources and scripts contained in this stack in any way the user chooses provided the following conditions are complied with:The Balloons stack may be freely copied and distributed so long as the stack remains intact without changes and so long as no charge is made.  Commercial on-line services such as GEnie‚Ñ¢ and America On Line‚Ñ¢ which charge only for the time a subscriber uses the service and non-profit computer user groups are exempted from this requirement.  Other companies which make a profit by redistributing shareware and free software including specifically Educorp‚Ñ¢ are forbidden to copy or otherwise distribute the stack or any of its contents.The Balloons(), CreateStrings, CreatePICT, CreateStyle, and CreateSTRList externals as well as any of the scripts contained in this stack may be freely used in the user's own stacks.  They also may be redistributed in the user's own stacks so long as no charge is made for those stacks, which must carry a copyright and license similar to the one contained here.  Free licenses will be granted to shareware authors on a case by case basis upon request to:Jim Spencer1280 Westminster St. Apt. 302St. Paul, MN. 55101E-Mail address: America On Line: JimSpencerPlease note that the graphics in this stack are Copyright ¬©1991 HyperActive Software and may not be copied or used except in this stack, and are not included in the license above.Thanks to John R. Powers and MacTutor magazine for the idea behind Balloons() XFCN.</span></text>
  1951.     </content>
  1952.     <content>
  1953.         <layer>card</layer>
  1954.         <id>6</id>
  1955.         <text>This stack was created and designed by:HyperActive Software3712 20th Avenue SouthMinneapolis, MN 55407(612) 724-1596</text>
  1956.     </content>
  1957.     <name>Copyright/License</name>
  1958.     <script>on closeCardshow cd fld "copyright"set the scroll of cd fld "copyright" to 0end closeCard</script>
  1959. </card>
  1960.  
  1961.  
  1962. card_2979.xml
  1963. <?xml version="1.0" encoding="utf-8" ?>
  1964. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1965. <card>
  1966.     <id>2979</id>
  1967.     <filler1>0</filler1>
  1968.     <bitmap>BMAP_3836.pbm</bitmap>
  1969.     <cantDelete> <false /> </cantDelete>
  1970.     <showPict> <true /> </showPict>
  1971.     <dontSearch> <false /> </dontSearch>
  1972.     <owner>2740</owner>
  1973.     <link rel="stylesheet" type="text/css" href="stylesheet_3303.css" />
  1974.     <part>
  1975.         <id>1</id>
  1976.         <type>button</type>
  1977.         <visible> <true /> </visible>
  1978.         <reserved5> 0 </reserved5>
  1979.         <reserved4> 0 </reserved4>
  1980.         <reserved3> 0 </reserved3>
  1981.         <reserved2> 0 </reserved2>
  1982.         <reserved1> 0 </reserved1>
  1983.         <enabled> <true /> </enabled>
  1984.         <rect>
  1985.             <left>40</left>
  1986.             <top>135</top>
  1987.             <right>255</right>
  1988.             <bottom>163</bottom>
  1989.         </rect>
  1990.         <style>transparent</style>
  1991.         <showName> <false /> </showName>
  1992.         <highlight> <false /> </highlight>
  1993.         <autoHighlight> <true /> </autoHighlight>
  1994.         <sharedHighlight> <true /> </sharedHighlight>
  1995.         <family>0</family>
  1996.         <titleWidth>0</titleWidth>
  1997.         <icon>0</icon>
  1998.         <textAlign>center</textAlign>
  1999.         <font>Chicago</font>
  2000.         <textSize>12</textSize>
  2001.         <textStyle>plain</textStyle>
  2002.         <name>General Syntax</name>
  2003.         <script>on mouseEnterShowABalloon "Click here to see general syntax information on" ¬¨&& "how to use Balloons().",,6end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  2004.     </part>
  2005.     <part>
  2006.         <id>2</id>
  2007.         <type>button</type>
  2008.         <visible> <true /> </visible>
  2009.         <reserved5> 0 </reserved5>
  2010.         <reserved4> 0 </reserved4>
  2011.         <reserved3> 0 </reserved3>
  2012.         <reserved2> 0 </reserved2>
  2013.         <reserved1> 0 </reserved1>
  2014.         <enabled> <true /> </enabled>
  2015.         <rect>
  2016.             <left>40</left>
  2017.             <top>163</top>
  2018.             <right>255</right>
  2019.             <bottom>190</bottom>
  2020.         </rect>
  2021.         <style>transparent</style>
  2022.         <showName> <false /> </showName>
  2023.         <highlight> <false /> </highlight>
  2024.         <autoHighlight> <true /> </autoHighlight>
  2025.         <sharedHighlight> <true /> </sharedHighlight>
  2026.         <family>0</family>
  2027.         <titleWidth>0</titleWidth>
  2028.         <icon>0</icon>
  2029.         <textAlign>center</textAlign>
  2030.         <font>Chicago</font>
  2031.         <textSize>12</textSize>
  2032.         <textStyle>plain</textStyle>
  2033.         <name>Utility Calls</name>
  2034.         <script>on mouseEnterShowASTRList 1513,5,,6end mouseEnter-- The ShowASTRList handler is in the Stack scripton mouseLeaveRemoveABalloonend mouseLeave</script>
  2035.     </part>
  2036.     <part>
  2037.         <id>3</id>
  2038.         <type>button</type>
  2039.         <visible> <true /> </visible>
  2040.         <reserved5> 0 </reserved5>
  2041.         <reserved4> 0 </reserved4>
  2042.         <reserved3> 0 </reserved3>
  2043.         <reserved2> 0 </reserved2>
  2044.         <reserved1> 0 </reserved1>
  2045.         <enabled> <true /> </enabled>
  2046.         <rect>
  2047.             <left>40</left>
  2048.             <top>190</top>
  2049.             <right>255</right>
  2050.             <bottom>218</bottom>
  2051.         </rect>
  2052.         <style>transparent</style>
  2053.         <showName> <false /> </showName>
  2054.         <highlight> <false /> </highlight>
  2055.         <autoHighlight> <true /> </autoHighlight>
  2056.         <sharedHighlight> <true /> </sharedHighlight>
  2057.         <family>0</family>
  2058.         <titleWidth>0</titleWidth>
  2059.         <icon>0</icon>
  2060.         <textAlign>center</textAlign>
  2061.         <font>Chicago</font>
  2062.         <textSize>12</textSize>
  2063.         <textStyle>plain</textStyle>
  2064.         <name>Standard Display Calls</name>
  2065.         <script>on mouseEnterShowASTRList 1513,4,,6end mouseEnter-- The ShowASTRList handler is in the Stack scripton mouseLeaveRemoveABalloonend mouseLeave</script>
  2066.     </part>
  2067.     <part>
  2068.         <id>4</id>
  2069.         <type>button</type>
  2070.         <visible> <true /> </visible>
  2071.         <reserved5> 0 </reserved5>
  2072.         <reserved4> 0 </reserved4>
  2073.         <reserved3> 0 </reserved3>
  2074.         <reserved2> 0 </reserved2>
  2075.         <reserved1> 0 </reserved1>
  2076.         <enabled> <true /> </enabled>
  2077.         <rect>
  2078.             <left>255</left>
  2079.             <top>190</top>
  2080.             <right>471</right>
  2081.             <bottom>218</bottom>
  2082.         </rect>
  2083.         <style>transparent</style>
  2084.         <showName> <false /> </showName>
  2085.         <highlight> <false /> </highlight>
  2086.         <autoHighlight> <true /> </autoHighlight>
  2087.         <sharedHighlight> <true /> </sharedHighlight>
  2088.         <family>0</family>
  2089.         <titleWidth>0</titleWidth>
  2090.         <icon>0</icon>
  2091.         <textAlign>center</textAlign>
  2092.         <font>Chicago</font>
  2093.         <textSize>12</textSize>
  2094.         <textStyle>plain</textStyle>
  2095.         <name>Create Strings</name>
  2096.         <script>on mouseEnterShowASTRList 1513,1,,2end mouseEnter-- The ShowASTRList handler is in the Stack scripton mouseLeaveRemoveABalloonend mouseLeave</script>
  2097.     </part>
  2098.     <part>
  2099.         <id>5</id>
  2100.         <type>button</type>
  2101.         <visible> <true /> </visible>
  2102.         <reserved5> 0 </reserved5>
  2103.         <reserved4> 0 </reserved4>
  2104.         <reserved3> 0 </reserved3>
  2105.         <reserved2> 0 </reserved2>
  2106.         <reserved1> 0 </reserved1>
  2107.         <enabled> <true /> </enabled>
  2108.         <rect>
  2109.             <left>255</left>
  2110.             <top>135</top>
  2111.             <right>471</right>
  2112.             <bottom>163</bottom>
  2113.         </rect>
  2114.         <style>transparent</style>
  2115.         <showName> <false /> </showName>
  2116.         <highlight> <false /> </highlight>
  2117.         <autoHighlight> <true /> </autoHighlight>
  2118.         <sharedHighlight> <true /> </sharedHighlight>
  2119.         <family>0</family>
  2120.         <titleWidth>0</titleWidth>
  2121.         <icon>0</icon>
  2122.         <textAlign>center</textAlign>
  2123.         <font>Chicago</font>
  2124.         <textSize>12</textSize>
  2125.         <textStyle>plain</textStyle>
  2126.         <name>Optional Parameters</name>
  2127.         <script>on mouseEnterShowASTRList 1513,3,,2end mouseEnter-- The ShowASTRList handler is in the Stack scripton mouseLeaveRemoveABalloonend mouseLeave</script>
  2128.     </part>
  2129.     <part>
  2130.         <id>6</id>
  2131.         <type>button</type>
  2132.         <visible> <true /> </visible>
  2133.         <reserved5> 0 </reserved5>
  2134.         <reserved4> 0 </reserved4>
  2135.         <reserved3> 0 </reserved3>
  2136.         <reserved2> 0 </reserved2>
  2137.         <reserved1> 0 </reserved1>
  2138.         <enabled> <true /> </enabled>
  2139.         <rect>
  2140.             <left>255</left>
  2141.             <top>163</top>
  2142.             <right>471</right>
  2143.             <bottom>190</bottom>
  2144.         </rect>
  2145.         <style>transparent</style>
  2146.         <showName> <false /> </showName>
  2147.         <highlight> <false /> </highlight>
  2148.         <autoHighlight> <true /> </autoHighlight>
  2149.         <sharedHighlight> <true /> </sharedHighlight>
  2150.         <family>0</family>
  2151.         <titleWidth>0</titleWidth>
  2152.         <icon>0</icon>
  2153.         <textAlign>center</textAlign>
  2154.         <font>Chicago</font>
  2155.         <textSize>12</textSize>
  2156.         <textStyle>plain</textStyle>
  2157.         <name>Error Messages/Return Values</name>
  2158.         <script>on mouseEnterShowASTRList 1513,2,,2end mouseEnter-- The ShowASTRList handler is in the Stack scripton mouseLeaveRemoveABalloonend mouseLeave</script>
  2159.     </part>
  2160.     <part>
  2161.         <id>7</id>
  2162.         <type>button</type>
  2163.         <visible> <true /> </visible>
  2164.         <reserved5> 0 </reserved5>
  2165.         <reserved4> 0 </reserved4>
  2166.         <reserved3> 0 </reserved3>
  2167.         <reserved2> 0 </reserved2>
  2168.         <reserved1> 0 </reserved1>
  2169.         <enabled> <true /> </enabled>
  2170.         <rect>
  2171.             <left>178</left>
  2172.             <top>296</top>
  2173.             <right>343</right>
  2174.             <bottom>330</bottom>
  2175.         </rect>
  2176.         <style>transparent</style>
  2177.         <showName> <false /> </showName>
  2178.         <highlight> <false /> </highlight>
  2179.         <autoHighlight> <true /> </autoHighlight>
  2180.         <sharedHighlight> <true /> </sharedHighlight>
  2181.         <family>0</family>
  2182.         <titleWidth>0</titleWidth>
  2183.         <icon>0</icon>
  2184.         <textAlign>center</textAlign>
  2185.         <font>Chicago</font>
  2186.         <textSize>12</textSize>
  2187.         <textStyle>plain</textStyle>
  2188.         <name>Copyright/License</name>
  2189.         <script>on mouseEnterput topLeft of me into tipadd 10 to item 1 of tipadd 10 to item 2 of tipput Balloons("ShowPICT", 1513, tip,6) into helpResultrepeat until "-853" is not in helpResultput Balloons("ShowPICT", 1513, tip, 6) into helpResultend repeatend mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  2190.     </part>
  2191.     <part>
  2192.         <id>10</id>
  2193.         <type>button</type>
  2194.         <visible> <true /> </visible>
  2195.         <reserved5> 0 </reserved5>
  2196.         <reserved4> 0 </reserved4>
  2197.         <reserved3> 0 </reserved3>
  2198.         <reserved2> 0 </reserved2>
  2199.         <reserved1> 0 </reserved1>
  2200.         <enabled> <true /> </enabled>
  2201.         <rect>
  2202.             <left>470</left>
  2203.             <top>18</top>
  2204.             <right>501</right>
  2205.             <bottom>45</bottom>
  2206.         </rect>
  2207.         <style>transparent</style>
  2208.         <showName> <false /> </showName>
  2209.         <highlight> <false /> </highlight>
  2210.         <autoHighlight> <false /> </autoHighlight>
  2211.         <sharedHighlight> <true /> </sharedHighlight>
  2212.         <family>0</family>
  2213.         <titleWidth>0</titleWidth>
  2214.         <icon>0</icon>
  2215.         <textAlign>center</textAlign>
  2216.         <font>Chicago</font>
  2217.         <textSize>12</textSize>
  2218.         <textStyle>plain</textStyle>
  2219.         <name>On/Off</name>
  2220.         <script>on mouseDownglobal isSixif isSix then errorMsgif Balloons("isOn") thenget Balloons("Off")set the hilite of me to falseelseget Balloons("On")set the hilite of me to truemouseEnterend ifend mouseDownon mouseEnterShowAString 1513,,2end mouseEnter-- ShowAString is in the Stack scripton mouseLeaveRemoveABalloonend mouseLeave</script>
  2221.     </part>
  2222.     <part>
  2223.         <id>11</id>
  2224.         <type>button</type>
  2225.         <visible> <true /> </visible>
  2226.         <reserved5> 0 </reserved5>
  2227.         <reserved4> 0 </reserved4>
  2228.         <reserved3> 0 </reserved3>
  2229.         <reserved2> 0 </reserved2>
  2230.         <reserved1> 0 </reserved1>
  2231.         <enabled> <true /> </enabled>
  2232.         <rect>
  2233.             <left>450</left>
  2234.             <top>309</top>
  2235.             <right>488</right>
  2236.             <bottom>336</bottom>
  2237.         </rect>
  2238.         <style>transparent</style>
  2239.         <showName> <false /> </showName>
  2240.         <highlight> <false /> </highlight>
  2241.         <autoHighlight> <true /> </autoHighlight>
  2242.         <sharedHighlight> <true /> </sharedHighlight>
  2243.         <family>0</family>
  2244.         <titleWidth>0</titleWidth>
  2245.         <icon>0</icon>
  2246.         <textAlign>center</textAlign>
  2247.         <font>Chicago</font>
  2248.         <textSize>12</textSize>
  2249.         <textStyle>plain</textStyle>
  2250.         <name>Next</name>
  2251.         <script>on mouseUplock screengo nextunlock screen with visual wipe leftend mouseUpon mouseEnterShowABalloon "Click here to move forward through this stack " ¬¨& "one card at a time."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  2252.     </part>
  2253.     <part>
  2254.         <id>12</id>
  2255.         <type>button</type>
  2256.         <visible> <true /> </visible>
  2257.         <reserved5> 0 </reserved5>
  2258.         <reserved4> 0 </reserved4>
  2259.         <reserved3> 0 </reserved3>
  2260.         <reserved2> 0 </reserved2>
  2261.         <reserved1> 0 </reserved1>
  2262.         <enabled> <true /> </enabled>
  2263.         <rect>
  2264.             <left>42</left>
  2265.             <top>310</top>
  2266.             <right>73</right>
  2267.             <bottom>337</bottom>
  2268.         </rect>
  2269.         <style>transparent</style>
  2270.         <showName> <false /> </showName>
  2271.         <highlight> <false /> </highlight>
  2272.         <autoHighlight> <true /> </autoHighlight>
  2273.         <sharedHighlight> <true /> </sharedHighlight>
  2274.         <family>0</family>
  2275.         <titleWidth>0</titleWidth>
  2276.         <icon>0</icon>
  2277.         <textAlign>center</textAlign>
  2278.         <font>Chicago</font>
  2279.         <textSize>12</textSize>
  2280.         <textStyle>plain</textStyle>
  2281.         <name>Home</name>
  2282.         <script>on mouseUpgo homeend mouseUpon mouseEnterShowABalloon "Click here to return to the Home stack."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  2283.     </part>
  2284.     <part>
  2285.         <id>13</id>
  2286.         <type>button</type>
  2287.         <visible> <true /> </visible>
  2288.         <reserved5> 0 </reserved5>
  2289.         <reserved4> 0 </reserved4>
  2290.         <reserved3> 0 </reserved3>
  2291.         <reserved2> 0 </reserved2>
  2292.         <reserved1> 0 </reserved1>
  2293.         <enabled> <true /> </enabled>
  2294.         <rect>
  2295.             <left>410</left>
  2296.             <top>309</top>
  2297.             <right>450</right>
  2298.             <bottom>336</bottom>
  2299.         </rect>
  2300.         <style>transparent</style>
  2301.         <showName> <false /> </showName>
  2302.         <highlight> <false /> </highlight>
  2303.         <autoHighlight> <true /> </autoHighlight>
  2304.         <sharedHighlight> <true /> </sharedHighlight>
  2305.         <family>0</family>
  2306.         <titleWidth>0</titleWidth>
  2307.         <icon>0</icon>
  2308.         <textAlign>center</textAlign>
  2309.         <font>Chicago</font>
  2310.         <textSize>12</textSize>
  2311.         <textStyle>plain</textStyle>
  2312.         <name>Prev</name>
  2313.         <script>on mouseUplock screengo prevunlock screen with visual wipe rightend mouseUpon mouseEnterShowABalloon "Click here to move backward through this stack " ¬¨& "one card at a time."end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  2314.     </part>
  2315.     <part>
  2316.         <id>14</id>
  2317.         <type>button</type>
  2318.         <visible> <true /> </visible>
  2319.         <reserved5> 0 </reserved5>
  2320.         <reserved4> 0 </reserved4>
  2321.         <reserved3> 0 </reserved3>
  2322.         <reserved2> 0 </reserved2>
  2323.         <reserved1> 0 </reserved1>
  2324.         <enabled> <true /> </enabled>
  2325.         <rect>
  2326.             <left>40</left>
  2327.             <top>246</top>
  2328.             <right>255</right>
  2329.             <bottom>275</bottom>
  2330.         </rect>
  2331.         <style>transparent</style>
  2332.         <showName> <false /> </showName>
  2333.         <highlight> <false /> </highlight>
  2334.         <autoHighlight> <true /> </autoHighlight>
  2335.         <sharedHighlight> <true /> </sharedHighlight>
  2336.         <family>0</family>
  2337.         <titleWidth>0</titleWidth>
  2338.         <icon>0</icon>
  2339.         <textAlign>center</textAlign>
  2340.         <font>Chicago</font>
  2341.         <textSize>12</textSize>
  2342.         <textStyle>plain</textStyle>
  2343.         <name>Create PICTs</name>
  2344.         <script>on mouseEnterput botRight of me into tipsubtract 10 from item 1 of tipsubtract 10 from item 2 of tipput Balloons("ShowPICT",1518,tip,6) into helpResultrepeat until "-853" is not in helpResultput Balloons("ShowPICT", 1513, tip, 6) into helpResultend repeatend mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  2345.     </part>
  2346.     <part>
  2347.         <id>15</id>
  2348.         <type>button</type>
  2349.         <visible> <true /> </visible>
  2350.         <reserved5> 0 </reserved5>
  2351.         <reserved4> 0 </reserved4>
  2352.         <reserved3> 0 </reserved3>
  2353.         <reserved2> 0 </reserved2>
  2354.         <reserved1> 0 </reserved1>
  2355.         <enabled> <true /> </enabled>
  2356.         <rect>
  2357.             <left>40</left>
  2358.             <top>218</top>
  2359.             <right>255</right>
  2360.             <bottom>246</bottom>
  2361.         </rect>
  2362.         <style>transparent</style>
  2363.         <showName> <false /> </showName>
  2364.         <highlight> <false /> </highlight>
  2365.         <autoHighlight> <true /> </autoHighlight>
  2366.         <sharedHighlight> <true /> </sharedHighlight>
  2367.         <family>0</family>
  2368.         <titleWidth>0</titleWidth>
  2369.         <icon>0</icon>
  2370.         <textAlign>center</textAlign>
  2371.         <font>Chicago</font>
  2372.         <textSize>12</textSize>
  2373.         <textStyle>plain</textStyle>
  2374.         <name>Create Styled Text</name>
  2375.         <script>on mouseEnterShowStyledText 1515,,7end mouseEnter-- The ShowStyledText handler is in the Stack scripton mouseLeaveRemoveABalloonend mouseLeave</script>
  2376.     </part>
  2377.     <part>
  2378.         <id>16</id>
  2379.         <type>button</type>
  2380.         <visible> <true /> </visible>
  2381.         <reserved5> 0 </reserved5>
  2382.         <reserved4> 0 </reserved4>
  2383.         <reserved3> 0 </reserved3>
  2384.         <reserved2> 0 </reserved2>
  2385.         <reserved1> 0 </reserved1>
  2386.         <enabled> <true /> </enabled>
  2387.         <rect>
  2388.             <left>255</left>
  2389.             <top>218</top>
  2390.             <right>471</right>
  2391.             <bottom>246</bottom>
  2392.         </rect>
  2393.         <style>transparent</style>
  2394.         <showName> <false /> </showName>
  2395.         <highlight> <false /> </highlight>
  2396.         <autoHighlight> <true /> </autoHighlight>
  2397.         <sharedHighlight> <true /> </sharedHighlight>
  2398.         <family>0</family>
  2399.         <titleWidth>0</titleWidth>
  2400.         <icon>0</icon>
  2401.         <textAlign>center</textAlign>
  2402.         <font>Chicago</font>
  2403.         <textSize>12</textSize>
  2404.         <textStyle>plain</textStyle>
  2405.         <name>Create String Lists</name>
  2406.         <script>on mouseEnterShowASTRList 1513,7,,5end mouseEnter-- The ShowASTRList handler is in the Stack scripton mouseLeaveRemoveABalloonend mouseLeave</script>
  2407.     </part>
  2408.     <part>
  2409.         <id>19</id>
  2410.         <type>button</type>
  2411.         <visible> <true /> </visible>
  2412.         <reserved5> 0 </reserved5>
  2413.         <reserved4> 0 </reserved4>
  2414.         <reserved3> 0 </reserved3>
  2415.         <reserved2> 0 </reserved2>
  2416.         <reserved1> 0 </reserved1>
  2417.         <enabled> <true /> </enabled>
  2418.         <rect>
  2419.             <left>255</left>
  2420.             <top>246</top>
  2421.             <right>471</right>
  2422.             <bottom>275</bottom>
  2423.         </rect>
  2424.         <style>transparent</style>
  2425.         <showName> <false /> </showName>
  2426.         <highlight> <false /> </highlight>
  2427.         <autoHighlight> <true /> </autoHighlight>
  2428.         <sharedHighlight> <true /> </sharedHighlight>
  2429.         <family>0</family>
  2430.         <titleWidth>0</titleWidth>
  2431.         <icon>0</icon>
  2432.         <textAlign>center</textAlign>
  2433.         <font>Chicago</font>
  2434.         <textSize>12</textSize>
  2435.         <textStyle>plain</textStyle>
  2436.         <name>What'sNew</name>
  2437.         <script>on mouseEnterShowStyledText 1516,,1end mouseEnteron mouseLeaveRemoveABalloonend mouseLeave</script>
  2438.     </part>
  2439.     <name>title</name>
  2440.     <script>on mouseUpif the name of the target contains "button" thenlock screengo cd (the short name of the target)unlock screen with visual wipe leftend ifend mouseUpon openCardglobal isSixif not isSixthen set the hilite of btn "on/off" to balloons("isOn")end openCard</script>
  2441. </card>
  2442.  
  2443.  
  2444.